diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-04-01 09:22:04 -0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 13:46:29 -0400 |
commit | f3752975caa716709c5ea0b0820b86111d921df4 (patch) | |
tree | 80349dd1e99683577ea4b0d264af7f8b3ded73aa /fs/nfs/nfs4proc.c | |
parent | cccef3b96a4759ae0790452280c00ea505412157 (diff) |
nfs41: nfs41: pass *session in seq_args and seq_res
To be used for getting the rpc's minorversion and for nfs41 xdr
{en,de}coding of the sequence operation.
Reset the seq session ptrs for minorversion=0 rpc calls.
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 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 | ||