diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-18 14:30:18 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-18 15:28:50 -0500 |
commit | 79969dd12e8756f64a999992c0536ccd91bf6e54 (patch) | |
tree | b66d51039b086df40fdc3420a977f10c248f3454 /include/linux/nfs_xdr.h | |
parent | 65d2918e716afb89359cfa59734d76c1ff8700cb (diff) |
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/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 8 |
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 { | |||
1185 | 1185 | ||
1186 | struct nfs41_create_session_args { | 1186 | struct nfs41_create_session_args { |
1187 | struct nfs_client *client; | 1187 | struct nfs_client *client; |
1188 | u64 clientid; | ||
1189 | uint32_t seqid; | ||
1188 | uint32_t flags; | 1190 | uint32_t flags; |
1189 | uint32_t cb_program; | 1191 | uint32_t cb_program; |
1190 | struct nfs4_channel_attrs fc_attrs; /* Fore Channel */ | 1192 | struct nfs4_channel_attrs fc_attrs; /* Fore Channel */ |
@@ -1192,7 +1194,11 @@ struct nfs41_create_session_args { | |||
1192 | }; | 1194 | }; |
1193 | 1195 | ||
1194 | struct nfs41_create_session_res { | 1196 | struct nfs41_create_session_res { |
1195 | struct nfs_client *client; | 1197 | struct nfs4_sessionid sessionid; |
1198 | uint32_t seqid; | ||
1199 | uint32_t flags; | ||
1200 | struct nfs4_channel_attrs fc_attrs; /* Fore Channel */ | ||
1201 | struct nfs4_channel_attrs bc_attrs; /* Back Channel */ | ||
1196 | }; | 1202 | }; |
1197 | 1203 | ||
1198 | struct nfs41_reclaim_complete_args { | 1204 | struct nfs41_reclaim_complete_args { |