diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-04 02:05:48 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-05 21:34:22 +0300 |
commit | 533770cc0ae84890624dc129609f3d75855c8982 (patch) | |
tree | efaf0d5823cd49d62baa600422d497db6fc0fa04 /fs/nfsd | |
parent | 1dd9bc08cf1420d466dd8dcfcc233777e61ca5d2 (diff) | |
download | linux-533770cc0ae84890624dc129609f3d75855c8982.tar.xz |
new helper: get_tree_keyed()
For vfs_get_keyed_super users.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfsctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 13c548733860..695223394985 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -1386,8 +1386,7 @@ static int nfsd_fill_super(struct super_block *sb, struct fs_context *fc) static int nfsd_fs_get_tree(struct fs_context *fc) { - fc->s_fs_info = get_net(fc->net_ns); - return vfs_get_super(fc, vfs_get_keyed_super, nfsd_fill_super); + return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); } static void nfsd_fs_free_fc(struct fs_context *fc) |