diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-18 12:27:18 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-18 16:11:09 -0500 |
commit | 71a097c6de9a49afd0f96b3ecef70c4eb04efde7 (patch) | |
tree | 0f465c7c79d4e8f2978ba036ac8be02ca32ed6e8 /include | |
parent | 7e9f07388779ccc5067f206357d9791aeef38864 (diff) |
NFSv4.1: Clean up bind_conn_to_session
We don't need to fake up an entire session in order retrieve the arguments.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_xdr.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 1af12fc16e98..4cb3eaa89cf7 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1167,8 +1167,15 @@ struct nfs41_impl_id { | |||
1167 | struct nfstime4 date; | 1167 | struct nfstime4 date; |
1168 | }; | 1168 | }; |
1169 | 1169 | ||
1170 | struct nfs41_bind_conn_to_session_args { | ||
1171 | struct nfs_client *client; | ||
1172 | struct nfs4_sessionid sessionid; | ||
1173 | u32 dir; | ||
1174 | bool use_conn_in_rdma_mode; | ||
1175 | }; | ||
1176 | |||
1170 | struct nfs41_bind_conn_to_session_res { | 1177 | struct nfs41_bind_conn_to_session_res { |
1171 | struct nfs4_session *session; | 1178 | struct nfs4_sessionid sessionid; |
1172 | u32 dir; | 1179 | u32 dir; |
1173 | bool use_conn_in_rdma_mode; | 1180 | bool use_conn_in_rdma_mode; |
1174 | }; | 1181 | }; |