summaryrefslogtreecommitdiff
path: root/fs/nfs/namespace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2020-03-19 17:01:45 +0300
committerIngo Molnar <mingo@kernel.org>2020-03-19 17:01:45 +0300
commit409e1a31404082ecb85b54bba920a3dd8077c672 (patch)
tree50daa709a2e9c461316122eb7b7850de9eb30f03 /fs/nfs/namespace.c
parentfdca7c1496cf05657654b6576143e909fc160a61 (diff)
parentdb5d85ce82487331b06ec0e076b85b5a3968bf53 (diff)
downloadlinux-409e1a31404082ecb85b54bba920a3dd8077c672.tar.xz
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/nfs/namespace.c')
-rw-r--r--fs/nfs/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c
index ad6077404947..f3ece8ed3203 100644
--- a/fs/nfs/namespace.c
+++ b/fs/nfs/namespace.c
@@ -153,7 +153,7 @@ struct vfsmount *nfs_d_automount(struct path *path)
/* Open a new filesystem context, transferring parameters from the
* parent superblock, including the network namespace.
*/
- fc = fs_context_for_submount(&nfs_fs_type, path->dentry);
+ fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry);
if (IS_ERR(fc))
return ERR_CAST(fc);