]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/xfs_mount.h
xfs: consolidate mount option features in m_features
authorDave Chinner <dchinner@redhat.com>
Thu, 19 Aug 2021 01:46:51 +0000 (18:46 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 17:07:12 +0000 (10:07 -0700)
commit8970a5b8a46c526a738db2cb89173aa0a2fd02a9
treeda1ba0eda518b0c212496678597ae3b9ccc4d778
parent38c26bfd90e1999650d5ef40f90d721f05916643
xfs: consolidate mount option features in m_features

This provides separation of mount time feature flags from runtime
mount flags and mount option state. It also makes the feature
checks use the same interface as the superblock features. i.e. we
don't care if the feature is enabled by superblock flags or mount
options, we just care if it's enabled or not.

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>
fs/xfs/xfs_mount.h