Preparations for fsmount/fsopen stuff (coming next cycle). Everything gets moved to explicit ->show_options(), killing ->s_options off + some cosmetic bits around fs/namespace.c and friends. Basically, the stuff needed to work with fsmount series with minimum of conflicts with other work. It's not strictly required for this merge window, but it would reduce the PITA during the coming cycle, so it would be nice to have those bits and pieces out of the way. The following changes since commit c0bc126f97fb929b3ae02c1c62322645d70eb408: Linux 4.12-rc7 (2017-06-25 18:30:05 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.mount for you to fetch changes up to fdb254db21bb4aed44a0bc7fe993e58d3848c926: isofs: Fix isofs_show_options() (2017-07-13 12:30:43 -0400) ---------------------------------------------------------------- David Howells (19): Provide a function to create a NUL-terminated string from unterminated data VFS: Clean up whitespace in fs/namespace.c and fs/super.c VFS: Make get_filesystem() return the affected filesystem VFS: Provide empty name qstr VFS: Don't use save/replace_mount_options if not using generic_show_options hugetlbfs: Implement show_options omfs: Implement show_options pstore: Implement show_options ramfs: Implement show_options bpf: Implement show_options spufs: Implement show_options befs: Implement show_options affs: Implement show_options afs: Implement show_options isofs: Implement show_options 9p: Implement show_options orangefs: Implement show_options VFS: Kill off s_options and helpers isofs: Fix isofs_show_options() Documentation/filesystems/vfs.txt | 6 --- arch/powerpc/platforms/cell/spufs/inode.c | 22 ++++++++-- fs/9p/v9fs.c | 61 +++++++++++++++++++++++++++ fs/9p/v9fs.h | 3 ++ fs/9p/vfs_super.c | 6 +-- fs/affs/super.c | 42 ++++++++++++++++--- fs/afs/super.c | 45 +++++++++++++++++++- fs/befs/linuxvfs.c | 24 +++++++++-- fs/btrfs/super.c | 1 - fs/dcache.c | 8 +++- fs/debugfs/inode.c | 2 - fs/efivarfs/super.c | 1 - fs/filesystems.c | 3 +- fs/gfs2/dir.c | 3 +- fs/hugetlbfs/inode.c | 70 ++++++++++++++++++++++++------- fs/isofs/inode.c | 51 ++++++++++++++++++++-- fs/isofs/isofs.h | 3 ++ fs/namei.c | 3 +- fs/namespace.c | 63 +--------------------------- fs/nsfs.c | 3 +- fs/omfs/inode.c | 33 +++++++++++++-- fs/orangefs/super.c | 15 ++++++- fs/pipe.c | 3 +- fs/pstore/inode.c | 14 +++++-- fs/pstore/internal.h | 3 ++ fs/pstore/platform.c | 2 +- fs/ramfs/inode.c | 32 +++++++++----- fs/reiserfs/super.c | 4 -- fs/super.c | 5 +-- fs/tracefs/inode.c | 2 - include/linux/dcache.h | 5 +++ include/linux/fs.h | 11 +---- include/linux/hugetlb.h | 3 ++ include/linux/string.h | 1 + include/net/9p/client.h | 13 ++++++ include/net/9p/transport.h | 1 + kernel/bpf/inode.c | 16 +++++-- mm/util.c | 24 +++++++++++ net/9p/client.c | 25 +++++++++++ net/9p/trans_fd.c | 31 ++++++++++++-- net/9p/trans_rdma.c | 31 ++++++++++++-- 41 files changed, 531 insertions(+), 163 deletions(-)