diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-02 02:48:55 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-05 04:01:58 +0200 |
commit | 2ac295d4f0c095310addbcb03d91d2a4c9f7d435 (patch) | |
tree | 62163f9641929535b05fc9e7ad0c7ebccb807f58 /fs/hugetlbfs | |
parent | vfs: Kill sget_userns() (diff) | |
download | linux-2ac295d4f0c095310addbcb03d91d2a4c9f7d435.tar.xz 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 'fs/hugetlbfs')
-rw-r--r-- | fs/hugetlbfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 1dcc57189382..a478df035651 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -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) |