diff options
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 | ||||
-rw-r--r-- | include/linux/nfs_xdr.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 4fc5b385f61e..49cf969417c0 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -291,6 +291,7 @@ int _nfs4_call_sync(struct nfs_server *server, | |||
291 | struct nfs4_sequence_res *res, | 291 | struct nfs4_sequence_res *res, |
292 | int cache_reply) | 292 | int cache_reply) |
293 | { | 293 | { |
294 | args->sa_session = res->sr_session = NULL; | ||
294 | return rpc_call_sync(server->client, msg, 0); | 295 | return rpc_call_sync(server->client, msg, 0); |
295 | } | 296 | } |
296 | 297 | ||
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index d837f10c49ef..f5675063f951 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -162,11 +162,11 @@ struct nfs4_slot { | |||
162 | }; | 162 | }; |
163 | 163 | ||
164 | struct nfs4_sequence_args { | 164 | struct nfs4_sequence_args { |
165 | /* stub */ | 165 | struct nfs4_session *sa_session; |
166 | }; | 166 | }; |
167 | 167 | ||
168 | struct nfs4_sequence_res { | 168 | struct nfs4_sequence_res { |
169 | /* stub */ | 169 | struct nfs4_session *sr_session; |
170 | }; | 170 | }; |
171 | 171 | ||
172 | /* | 172 | /* |