aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2012-05-21 22:46:16 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-22 16:45:48 -0400
commitacdeb69d9c5934a678a732b4e24770326bf9471e (patch)
tree818b6b385ecddc5bf2c7da2641ec55704b940b3b /include/linux/nfs_xdr.h
parent4bf590e08f6db3395c181618a4c14f1c39b7c4af (diff)
NFS: EXCHANGE_ID should save the server major and minor ID
Save the server major and minor ID results from EXCHANGE_ID, as they are needed for detecting server trunking. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 07048c012dec..0872f32c8eef 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1098,7 +1098,7 @@ struct nfs41_exchange_id_args {
1098 u32 flags; 1098 u32 flags;
1099}; 1099};
1100 1100
1101struct server_owner { 1101struct nfs41_server_owner {
1102 uint64_t minor_id; 1102 uint64_t minor_id;
1103 uint32_t major_id_sz; 1103 uint32_t major_id_sz;
1104 char major_id[NFS4_OPAQUE_LIMIT]; 1104 char major_id[NFS4_OPAQUE_LIMIT];
@@ -1118,6 +1118,7 @@ struct nfs41_impl_id {
1118struct nfs41_exchange_id_res { 1118struct nfs41_exchange_id_res {
1119 struct nfs_client *client; 1119 struct nfs_client *client;
1120 u32 flags; 1120 u32 flags;
1121 struct nfs41_server_owner *server_owner;
1121 struct nfs41_server_scope *server_scope; 1122 struct nfs41_server_scope *server_scope;
1122 struct nfs41_impl_id *impl_id; 1123 struct nfs41_impl_id *impl_id;
1123}; 1124};