convenience helper get_tree_nodev()

counterpart of mount_nodev().  Switch hugetlb and pseudo to it.

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2019-06-01 20:48:55 -04:00
commit 2ac295d4f0
4 changed files with 13 additions and 2 deletions

View file

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