]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: #ifdef out perag code for userspace
authorEric Sandeen <esandeen@redhat.com>
Thu, 28 Apr 2022 19:39:04 +0000 (15:39 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 28 Apr 2022 19:39:04 +0000 (15:39 -0400)
commit4b49bebf7e8fc5d8adb59c3e2971c2b755803149
treea064f7045332f21356ce7ea8aa7686e4b72d68fb
parent016bb3d18d24ccf5709deafbc6e928cbeb92a160
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>