diff options
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
-rw-r--r-- | fs/nfs/nfs4namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c index d21104912676..d8b040bd9814 100644 --- a/fs/nfs/nfs4namespace.c +++ b/fs/nfs/nfs4namespace.c | |||
@@ -279,7 +279,7 @@ static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, | |||
279 | mountdata->hostname, | 279 | mountdata->hostname, |
280 | mountdata->mnt_path); | 280 | mountdata->mnt_path); |
281 | 281 | ||
282 | mnt = vfs_kern_mount(&nfs4_referral_fs_type, 0, page, mountdata); | 282 | mnt = vfs_submount(mountdata->dentry, &nfs4_referral_fs_type, page, mountdata); |
283 | if (!IS_ERR(mnt)) | 283 | if (!IS_ERR(mnt)) |
284 | break; | 284 | break; |
285 | } | 285 | } |