mbox series

[RFC,0/3] fs: kill old ms_* flags for internal sb

Message ID 20230110022554.1186499-1-mcgrof@kernel.org (mailing list archive)
Headers show
Series fs: kill old ms_* flags for internal sb | expand

Message

Luis Chamberlain Jan. 10, 2023, 2:25 a.m. UTC
David had started the sb flag split for internal flags through
commit e462ec50cb5 ("VFS: Differentiate mount flags (MS_*) from internal
superblock flags") but it seems we just never axed out the old flag
usage.

I found this while inspecting adding a new temporary flag for the
superblock for filesystem freeze support. This doesn't go even build
tested, hence RFC.

Luis Chamberlain (3):
  apparmor: use SB_* flags for private sb flags
  fs: use SB_NOUSER on path_mount() instead of deprecated MS_NOUSER
  fs: remove old MS_* internal flags for the superblock

 fs/namespace.c                    | 2 +-
 include/uapi/linux/mount.h        | 8 --------
 security/apparmor/include/mount.h | 3 ++-
 security/apparmor/lsm.c           | 1 +
 security/apparmor/mount.c         | 2 +-
 tools/include/uapi/linux/mount.h  | 8 --------
 6 files changed, 5 insertions(+), 19 deletions(-)