Skip to content

RFC fs: kill old ms_* flags for internal sb

Luis Chamberlain linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3apparmor: use SB_* flags for private sb flagssecurity/apparmor/include/mount.h security/apparmor/lsm.c security/apparmor/mount.c+4 -21 reply
2/3fs: use SB_NOUSER on path_mount() instead of deprecated MS_NOUSERfs/namespace.c+1 -11 reply
3/3fs: remove old MS_* internal flags for the superblockinclude/uapi/linux/mount.h tools/include/uapi/linux/mount.h+0 -161 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.35.1