diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-05-24 13:22:50 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-24 16:22:19 -0400 |
commit | 7c44f1ae4a21458a1ea3d6482ffb3136f1df6d2b (patch) | |
tree | a66f9b3fb7a5252a87dbcee40562a1e8ed47dc9b /include/linux/nfs_xdr.h | |
parent | d23d61c8d351f5ced44ce87caf1fa3baab4c3f89 (diff) |
nfs4.1: add BIND_CONN_TO_SESSION operation
This patch adds the BIND_CONN_TO_SESSION operation which is needed for
upcoming SP4_MACH_CRED work and useful for recovering from broken connections
without destroying the session.
Signed-off-by: Weston Andros Adamson <dros@netapp.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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 201c312152fb..6387fc0097fe 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1125,6 +1125,12 @@ struct nfs41_impl_id { | |||
1125 | struct nfstime4 date; | 1125 | struct nfstime4 date; |
1126 | }; | 1126 | }; |
1127 | 1127 | ||
1128 | struct nfs41_bind_conn_to_session_res { | ||
1129 | struct nfs4_session *session; | ||
1130 | u32 dir; | ||
1131 | bool use_conn_in_rdma_mode; | ||
1132 | }; | ||
1133 | |||
1128 | struct nfs41_exchange_id_res { | 1134 | struct nfs41_exchange_id_res { |
1129 | struct nfs_client *client; | 1135 | struct nfs_client *client; |
1130 | u32 flags; | 1136 | u32 flags; |