NFSv4.1: Don't update sequence number if rpc_task is not sent
authorBryan Schumaker <bjschuma@netapp.com>
Mon, 18 Apr 2011 19:57:32 +0000 (15:57 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 18 Apr 2011 21:05:48 +0000 (17:05 -0400)
commit468f86134ee515234afe5c5b3f39f266c50e61a5
tree912d0d587ffa2897ce16ed1258e8f52b23308b61
parent47c2199b6eb5fbe38ddb844db7cdbd914d304f9c
NFSv4.1: Don't update sequence number if rpc_task is not sent

If we fail to contact the gss upcall program, then no message will
be sent to the server.  The client still updated the sequence number,
however, and this lead to NFS4ERR_SEQ_MISMATCH for the next several
RPC calls.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
include/linux/sunrpc/sched.h
net/sunrpc/xprt.c