]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxlog: 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)
commit04fdbc32d571726600d4a8b0d4a9f6f85191300a
tree65c3b79ac4e657fbc8921f47648881f446c0487e
parent94541a16312e07c52a25e6b6532f428b6abd48c6
libxlog: 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 hunk to libxfs/init.c that's not a straight replace]
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxlog/util.c
libxlog/xfs_log_recover.c