mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
023d066a0d
commit
2ac295d4f0
4 changed files with 13 additions and 2 deletions
|
@ -1299,7 +1299,7 @@ static int hugetlbfs_get_tree(struct fs_context *fc)
|
|||
int err = hugetlbfs_validate(fc);
|
||||
if (err)
|
||||
return err;
|
||||
return vfs_get_super(fc, vfs_get_independent_super, hugetlbfs_fill_super);
|
||||
return get_tree_nodev(fc, hugetlbfs_fill_super);
|
||||
}
|
||||
|
||||
static void hugetlbfs_fs_context_free(struct fs_context *fc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue