]> 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)
commitfc449880e80917ae76bbb0cc764239dc2ecbe208
treeb9f7a1abbaa086d9efdbacbc4c9c6c6d2b7786e5
parent7ca89e58ef09a1e59d0408c59c65c37ce69dc8c2
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