diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-09-08 19:50:03 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-09-08 19:50:03 -0400 |
commit | 764302ccb88dd0df062eccd507b6c6de24f1c560 (patch) | |
tree | 00f9f1e80c07495e6649eccb17faf7b3d4f2a25a /fs/nfs/internal.h | |
parent | a6fe23be90aa78783523a25330e09bfaa43a1581 (diff) |
NFS: Allow the "nfs" file system type to support NFSv4
When mounting an "nfs" type file system, recognize "v4," "vers=4," or
"nfsvers=4" mount options, and convert the file system to "nfs4" under
the covers.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
[trondmy: fixed up binary mount code so it sets the 'version' field too]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 5e686a4d744e..e21b1bb9972f 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -68,6 +68,7 @@ struct nfs_parsed_mount_data { | |||
68 | unsigned int auth_flavor_len; | 68 | unsigned int auth_flavor_len; |
69 | rpc_authflavor_t auth_flavors[1]; | 69 | rpc_authflavor_t auth_flavors[1]; |
70 | char *client_address; | 70 | char *client_address; |
71 | unsigned int version; | ||
71 | unsigned int minorversion; | 72 | unsigned int minorversion; |
72 | char *fscache_uniq; | 73 | char *fscache_uniq; |
73 | 74 | ||