Commit 6cef9dda authored by Dave Chinner's avatar Dave Chinner Committed by Long Li
Browse files

xfs: convert mount flags to features

mainline inclusion
from mainline-v5.14-rc4
commit 0560f31a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4KIAO
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=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: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>

Conflicts:
	fs/xfs/libxfs/xfs_bmap.c
	fs/xfs/xfs_acl.c
	fs/xfs/xfs_filestream.h
	fs/xfs/xfs_inode.c
	fs/xfs/xfs_ioctl.c
	fs/xfs/xfs_iops.c
	fs/xfs/xfs_mount.c
	fs/xfs/xfs_super.c

Signed-off-by: default avatarLong Li <leo.lilong@huawei.com>
parent 10b91445
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment