]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: #ifdef out perag code for userspace
authorEric Sandeen <esandeen@redhat.com>
Fri, 12 Nov 2021 20:17:14 +0000 (15:17 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 12 Nov 2021 20:17:14 +0000 (15:17 -0500)
commit1ff88c62c13974809558a31f2bc1733cbc7bbb4b
treef3127b4a220643158f63ddaac434245353fde5ad
parentb4c6731a199502387157803a79b8bc06e5fc9fc0
xfs: #ifdef out perag code for userspace

Source kernel commit: 29f11fce211c7fcf32713457c031e71785fb6088

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_ag.c
libxfs/xfs_ag.h