summaryrefslogtreecommitdiff
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-06-01 20:48:55 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-07-04 22:01:58 -0400
commit2ac295d4f0c095310addbcb03d91d2a4c9f7d435 (patch)
tree62163f9641929535b05fc9e7ad0c7ebccb807f58 /fs/libfs.c
parent023d066a0d0a87696c04b0de2ceae53063d0b655 (diff)
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 'fs/libfs.c')
-rw-r--r--fs/libfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/libfs.c b/fs/libfs.c
index 7e6811ba4edd..c9463dc6a5d4 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
@@ -270,7 +270,7 @@ static int pseudo_fs_fill_super(struct super_block *s, struct fs_context *fc)
static int pseudo_fs_get_tree(struct fs_context *fc)
{
- return vfs_get_super(fc, vfs_get_independent_super, pseudo_fs_fill_super);
+ return get_tree_nodev(fc, pseudo_fs_fill_super);
}
static void pseudo_fs_free(struct fs_context *fc)