aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-11-04 06:48:34 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2019-01-30 17:44:24 -0500
commit8f2918898eb5fe25845dde7f4a77bda0e2966e05 (patch)
treed433855ae4023d71572bfa875509a3a8687f145e /include/linux/fs.h
parentvfs: Introduce fs_context, switch vfs_kern_mount() to it. (diff)
downloadlinux-dev-8f2918898eb5fe25845dde7f4a77bda0e2966e05.tar.xz
linux-dev-8f2918898eb5fe25845dde7f4a77bda0e2966e05.zip
new helpers: vfs_create_mount(), fc_mount()
Create a new helper, vfs_create_mount(), that creates a detached vfsmount object from an fs_context that has a superblock attached to it. Almost all uses will be paired with immediately preceding vfs_get_tree(); add a helper for such combination. Switch vfs_kern_mount() to use this. NOTE: mild behaviour change; passing NULL as 'device name' to something like procfs will change /proc/*/mountstats - "device none" instead on "no device". That is consistent with /proc/mounts et.al. [do'h - EXPORT_SYMBOL_GPL slipped in by mistake; removed] [AV -- remove confused comment from vfs_create_mount()] [AV -- removed the second argument] Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions