Skip to content

mount-api: fixes and cleanups

Miklos Szeredi linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6selinux: fold superblock_doinit() into only callersecurity/selinux/hooks.c+9 -281 reply
2/6vfs_submount: use SB_SUBMOUNT instead of MS_SUBMOUNTfs/namespace.c+1 -11 reply
3/6mount: fix regression in setting "subtype" from legacy APIfs/fs_context.c fs/namespace.c+21 -341 reply
4/6fsconfig: parse "subtype" param for old internal APIfs/fs_context.c+10 -01 reply
5/6fsmount: do not use legacy MS_ flagsfs/namespace.c include/uapi/linux/mount.h+22 -1514 replies
6/6fsconfig: rename FSCONFIG_CMD_CREATE to FSCONFIG_CMD_OBTAINfs/fsopen.c include/uapi/linux/fs.h samples/vfs/test-fsmount.c+5 -52 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] mount-api: fixes and cleanups

These fix issues with handling subtype (fuse specific thing) and rename some constants on the new API to make me happy. I realize the last patch could be viewed as bikeshedding, but I do think suggesting falsehood in a constant name can lead to painful real life bugs, so now is the time to think about these issues.

Miklos Szeredi (6):
selinux: fold superblock_doinit() into only caller
vfs_submount: use SB_SUBMOUNT instead of MS_SUBMOUNT
mount: fix regression in setting "subtype" from legacy API
fsconfig: parse "subtype" param for old internal API
fsmount: do not use legacy MS_ flags
fsconfig: rename FSCONFIG_CMD_CREATE to FSCONFIG_CMD_OBTAIN

 fs/fs_context.c            | 44 +++++++++------------------------------
 fs/fsopen.c                |  6 +++---
 fs/namespace.c             | 51 +++++++++++++++++++++++++++++++---------------
 include/uapi/linux/fs.h    |  2 +-
 include/uapi/linux/mount.h |  9 ++++++++
 samples/vfs/test-fsmount.c |  2 +-
 security/selinux/hooks.c   | 37 ++++++++-------------------------
 7 files changed, 68 insertions(+), 83 deletions(-)
Signature · 1 line
2.14.3