]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: #ifdef out perag code for userspace
authorEric Sandeen <esandeen@redhat.com>
Wed, 10 Nov 2021 02:18:50 +0000 (18:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 10 Nov 2021 17:37:38 +0000 (09:37 -0800)
commit62c8f69742a5c9d500d9f15a3df5ce3f6479c8bf
treeb9f7a1abbaa086d9efdbacbc4c9c6c6d2b7786e5
parent0776f4e320f3fdd0007091bd702fb4e8ad1bad59
xfs: #ifdef out perag code for userspace

The xfs_perag structure and initialization is unused in userspace,
so #ifdef it out with __KERNEL__ to facilitate the xfsprogs sync
and build.

Signed-off-by: Eric Sandeen <esandeen@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_ag.c
fs/xfs/libxfs/xfs_ag.h