diff options
| author | 2012-06-20 16:24:02 -0700 | |
|---|---|---|
| committer | 2012-06-20 16:24:02 -0700 | |
| commit | ff446f2001cf9b5ed97c6256c4ee3549d3b7abed (patch) | |
| tree | ec5fd60a8b9c21ae85eaa99003f26e6c342e2234 /fs/nfs/super.c | |
| parent | USB: ohci-nxp: add usbd and otg clock initialization (diff) | |
| parent | Linux 3.5-rc3 (diff) | |
| download | linux-dev-ff446f2001cf9b5ed97c6256c4ee3549d3b7abed.tar.xz linux-dev-ff446f2001cf9b5ed97c6256c4ee3549d3b7abed.zip | |
Merge 3.5-rc3 into usb-next
This lets us catch the USB fixes that went into 3.5-rc3 into this branch,
as we want them here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/super.c')
| -rw-r--r-- | fs/nfs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index ff656c022684..906f09c7d842 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1867,6 +1867,7 @@ static int nfs23_validate_mount_data(void *options, if (data == NULL) goto out_no_data; + args->version = NFS_DEFAULT_VERSION; switch (data->version) { case 1: data->namlen = 0; @@ -2637,6 +2638,8 @@ static int nfs4_validate_mount_data(void *options, if (data == NULL) goto out_no_data; + args->version = 4; + switch (data->version) { case 1: if (data->host_addrlen > sizeof(args->nfs_server.address)) |
