summaryrefslogtreecommitdiffstats
path: root/include/linux/fs_context.h
diff options
context:
space:
mode:
authorAl Viro2019-06-02 02:48:55 +0200
committerAl Viro2019-07-05 04:01:58 +0200
commit2ac295d4f0c095310addbcb03d91d2a4c9f7d435 (patch)
tree62163f9641929535b05fc9e7ad0c7ebccb807f58 /include/linux/fs_context.h
parentvfs: Kill sget_userns() (diff)
downloadkernel-qcow2-linux-2ac295d4f0c095310addbcb03d91d2a4c9f7d435.tar.gz
kernel-qcow2-linux-2ac295d4f0c095310addbcb03d91d2a4c9f7d435.tar.xz
kernel-qcow2-linux-2ac295d4f0c095310addbcb03d91d2a4c9f7d435.zip
convenience helper get_tree_nodev()
counterpart of mount_nodev(). Switch hugetlb and pseudo to it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs_context.h')
-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 c995b852ba40..38b1ec918a4e 100644
--- a/include/linux/fs_context.h
+++ b/include/linux/fs_context.h
@@ -151,6 +151,9 @@ extern int vfs_get_super(struct fs_context *fc,
enum vfs_get_super_keying keying,
int (*fill_super)(struct super_block *sb,
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 const struct file_operations fscontext_fops;