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)
commit29f11fce211c7fcf32713457c031e71785fb6088
treeb9f7a1abbaa086d9efdbacbc4c9c6c6d2b7786e5
parent5b068aadf62da006891383f6b23e47bc3ad49995
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