]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: replace xfs_sb_version checks with feature flag checks
authorDarrick J. Wong <djwong@kernel.org>
Mon, 31 Jan 2022 22:27:44 +0000 (17:27 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 31 Jan 2022 22:27:44 +0000 (17:27 -0500)
commiteefdf2ab9d30381a1067d71599f8b11d265dd3da
tree33bf5c92c3f864f8e1f595a5733ed0400f2cc4ed
parent04fdbc32d571726600d4a8b0d4a9f6f85191300a
libxfs: replace xfs_sb_version checks with feature flag checks

Convert the xfs_sb_version_hasfoo() to checks against mp->m_features.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
[sandeen: drop one hunk that wasn't really a conversion]
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/init.c