summaryrefslogtreecommitdiffstats
path: root/tools/spi
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-11-04 13:18:51 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2019-01-30 23:44:25 +0100
commita0c9a8b8fd9fd572b0d60276beb2142c8f59f9b8 (patch)
tree240a81dae063cbcabc8c8b0d28af7e343dbf20b2 /tools/spi
parentnew helpers: vfs_create_mount(), fc_mount() (diff)
downloadlinux-a0c9a8b8fd9fd572b0d60276beb2142c8f59f9b8.tar.xz
linux-a0c9a8b8fd9fd572b0d60276beb2142c8f59f9b8.zip
teach vfs_get_tree() to handle subtype, switch do_new_mount() to it
Roll the handling of subtypes into do_new_mount() and vfs_get_tree(). The former determines any subtype string and hangs it off the fs_context; the latter applies it. Make do_new_mount() create, parameterise and commit an fs_context and create a mount for itself rather than calling vfs_kern_mount(). [AV -- missing kstrdup()] [AV -- ... and no kstrdup() if we get to setting ->s_submount - we simply transfer it from fc, leaving NULL behind] [AV -- constify ->s_submount, while we are at it] Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions