]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: convert mount flags to features
authorDave Chinner <dchinner@redhat.com>
Mon, 31 Jan 2022 22:22:11 +0000 (17:22 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 31 Jan 2022 22:22:11 +0000 (17:22 -0500)
commit914e2a0423c8ded6ca3a05d4e2a1d1134de57e4a
treefd4ff046b32fac06e8a02728891d1fd770057386
parentb16a427a78638eb15e3f61625369d93b3a626f29
xfs: convert mount flags to features

Source kernel commit: 0560f31a09e523090d1ab2bfe21c69d028c2bdf2

Replace m_flags feature checks with xfs_has_<feature>() calls and
rework the setup code to set flags in m_features.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
[sandeen: add small_inums to userspace unsupported features]
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_mount.h
libxfs/init.c
libxfs/xfs_attr.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_bmap.c
libxfs/xfs_ialloc.c