diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-18 18:27:18 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-18 22:11:09 +0100 |
commit | 71a097c6de9a49afd0f96b3ecef70c4eb04efde7 (patch) | |
tree | 0f465c7c79d4e8f2978ba036ac8be02ca32ed6e8 /include | |
parent | NFSv4.1: Always set up a forward channel when binding the session (diff) | |
download | linux-71a097c6de9a49afd0f96b3ecef70c4eb04efde7.tar.xz linux-71a097c6de9a49afd0f96b3ecef70c4eb04efde7.zip |
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 { struct nfstime4 date; }; +struct nfs41_bind_conn_to_session_args { + struct nfs_client *client; + struct nfs4_sessionid sessionid; + u32 dir; + bool use_conn_in_rdma_mode; +}; + struct nfs41_bind_conn_to_session_res { - struct nfs4_session *session; + struct nfs4_sessionid sessionid; u32 dir; bool use_conn_in_rdma_mode; }; |