summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorDavid Howells2018-11-04 13:43:08 +0100
committerAl Viro2019-01-30 23:44:25 +0100
commit132e460848f4261b8a6b9c28fae52bf9e02b52fd (patch)
tree6efa9049652905a5931b564a64d0aa609979d91b /fs/super.c
parentteach vfs_get_tree() to handle subtype, switch do_new_mount() to it (diff)
downloadkernel-qcow2-linux-132e460848f4261b8a6b9c28fae52bf9e02b52fd.tar.gz
kernel-qcow2-linux-132e460848f4261b8a6b9c28fae52bf9e02b52fd.tar.xz
kernel-qcow2-linux-132e460848f4261b8a6b9c28fae52bf9e02b52fd.zip
new helper: do_new_mount_fc()
Create an fs_context-aware version of do_new_mount(). This takes an fs_context with a superblock already attached to it. Make do_new_mount() use do_new_mount_fc() rather than do_new_mount(); this allows the consolidation of the mount creation, check and add steps. To make this work, mount_too_revealing() is changed to take a superblock rather than a mount (which the fs_context doesn't have available), allowing this check to be done before the mount object is created. Signed-off-by: David Howells <dhowells@redhat.com> Co-developed-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions