summaryrefslogtreecommitdiff
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-07-13 10:58:45 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-13 10:58:45 -0700
commit4264e6a263fc7166a5aa5234819b94f6fc9a2cd2 (patch)
tree15418e913161c719b738b6defa53cac8ebeb2dfd /fs/nfs/super.c
parent8d657eb3b43861064d36241e88d9d61c709f33f0 (diff)
parentf1daf666dd7d097653bd38320248c68084b1febf (diff)
downloadlinux-3.10-4264e6a263fc7166a5aa5234819b94f6fc9a2cd2.tar.gz
linux-3.10-4264e6a263fc7166a5aa5234819b94f6fc9a2cd2.tar.bz2
linux-3.10-4264e6a263fc7166a5aa5234819b94f6fc9a2cd2.zip
Merge tag 'nfs-for-3.5-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
Pull NFS client bugfixes from Trond Myklebust: - Fix an NFSv4 mount regression - Fix O_DIRECT list manipulation snafus * tag 'nfs-for-3.5-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: NFSv4: Fix an NFSv4 mount regression NFS: Fix list manipulation snafus in fs/nfs/direct.c
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 906f09c7d84..06228192f64 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2860,6 +2860,8 @@ static struct dentry *nfs4_try_mount(int flags, const char *dev_name,
dfprintk(MOUNT, "--> nfs4_try_mount()\n");
+ mount_info->fill_super = nfs4_fill_super;
+
export_path = data->nfs_server.export_path;
data->nfs_server.export_path = "/";
root_mnt = nfs_do_root_mount(&nfs4_remote_fs_type, flags, mount_info,