summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-05-23 03:23:39 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2019-07-05 04:01:58 +0200
commitc23a0bbab30cc1714b6b1d6a1c153a5ccab3f0d8 (patch)
treeb58d6ed34a26200796664d1dca3c10629cfdb8ea /include
parentconvenience helper get_tree_nodev() (diff)
downloadlinux-c23a0bbab30cc1714b6b1d6a1c153a5ccab3f0d8.tar.xz
linux-c23a0bbab30cc1714b6b1d6a1c153a5ccab3f0d8.zip
convenience helper: get_tree_single()
counterpart of mount_single(); switch fusectl to it Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs_context.h b/include/linux/fs_context.h
index 38b1ec918a4e..1775969e000d 100644
--- a/include/linux/fs_context.h
+++ b/include/linux/fs_context.h
@@ -154,6 +154,9 @@ extern int vfs_get_super(struct fs_context *fc,
extern int get_tree_nodev(struct fs_context *fc,
int (*fill_super)(struct super_block *sb,
struct fs_context *fc));
+extern int get_tree_single(struct fs_context *fc,
+ int (*fill_super)(struct super_block *sb,
+ struct fs_context *fc));
extern const struct file_operations fscontext_fops;