summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-18 11:30:18 -0800
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-02-18 12:28:50 -0800
commit79969dd12e8756f64a999992c0536ccd91bf6e54 (patch)
treeb66d51039b086df40fdc3420a977f10c248f3454 /include
parent65d2918e716afb89359cfa59734d76c1ff8700cb (diff)
downloadlinux-stable-79969dd12e8756f64a999992c0536ccd91bf6e54.tar.gz
linux-stable-79969dd12e8756f64a999992c0536ccd91bf6e54.tar.bz2
linux-stable-79969dd12e8756f64a999992c0536ccd91bf6e54.zip
NFSv4.1: Clean up create_session
Don't decode directly into the shared struct session Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 9a39132fda49..1af12fc16e98 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1185,6 +1185,8 @@ struct nfs41_exchange_id_res {
struct nfs41_create_session_args {
struct nfs_client *client;
+ u64 clientid;
+ uint32_t seqid;
uint32_t flags;
uint32_t cb_program;
struct nfs4_channel_attrs fc_attrs; /* Fore Channel */
@@ -1192,7 +1194,11 @@ struct nfs41_create_session_args {
};
struct nfs41_create_session_res {
- struct nfs_client *client;
+ struct nfs4_sessionid sessionid;
+ uint32_t seqid;
+ uint32_t flags;
+ struct nfs4_channel_attrs fc_attrs; /* Fore Channel */
+ struct nfs4_channel_attrs bc_attrs; /* Back Channel */
};
struct nfs41_reclaim_complete_args {