diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-04-01 09:21:49 -0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 13:46:16 -0400 |
commit | 94a417f3d7a02478a2d7842e693a61339fb54ea4 (patch) | |
tree | c7e64771efb434b24416da3a255730eb19475a0b /include | |
parent | 3fd5be9e19921a89d9ed78d6a708a379a6c3c76a (diff) |
nfs41: nfs_client.cl_minorversion
This field is set to the nfsv4 minor version for this mount.
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Note: This patch sets the referral to the same minorversion as the
current mount. Revisit in future patch.
Signed-off-by: Andy Adamson <andros@netapp.com>
[removed cl_minorversion assignment in nfs_set_client]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[always define nfs_client.cl_minorversion]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 6ad75948cbf7..e9a51fe46aa3 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -32,6 +32,7 @@ struct nfs_client { | |||
32 | const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ | 32 | const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ |
33 | int cl_proto; /* Network transport protocol */ | 33 | int cl_proto; /* Network transport protocol */ |
34 | 34 | ||
35 | u32 cl_minorversion;/* NFSv4 minorversion */ | ||
35 | struct rpc_cred *cl_machine_cred; | 36 | struct rpc_cred *cl_machine_cred; |
36 | 37 | ||
37 | #ifdef CONFIG_NFS_V4 | 38 | #ifdef CONFIG_NFS_V4 |
@@ -63,7 +64,7 @@ struct nfs_client { | |||
63 | */ | 64 | */ |
64 | char cl_ipaddr[48]; | 65 | char cl_ipaddr[48]; |
65 | unsigned char cl_id_uniquifier; | 66 | unsigned char cl_id_uniquifier; |
66 | #endif | 67 | #endif /* CONFIG_NFS_V4 */ |
67 | 68 | ||
68 | #ifdef CONFIG_NFS_FSCACHE | 69 | #ifdef CONFIG_NFS_FSCACHE |
69 | struct fscache_cookie *fscache; /* client index cache cookie */ | 70 | struct fscache_cookie *fscache; /* client index cache cookie */ |