convenience helper: get_tree_single()

counterpart of mount_single(); switch fusectl to it

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2019-05-22 21:23:39 -04:00
parent 2ac295d4f0
commit c23a0bbab3
3 changed files with 12 additions and 1 deletions

View File

@@ -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;