Merge tag 'nfsd-5.4' of git://linux-nfs.org/~bfields/linux
[linux-2.6-block.git] / fs / nfsd / nfsctl.c
index 33cbe2e5d937aafb4492ac4b2535140d0e1969f1..11b42c523f045b15875a98c988a737c6107797fc 100644 (file)
@@ -1385,8 +1385,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)