NFSv41: nfs4_reset_session must always set NFS4CLNT_SESSION_DRAINING
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 5 Dec 2009 20:03:20 +0000 (15:03 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 5 Dec 2009 20:03:20 +0000 (15:03 -0500)
commit0556d1a6958ba15659ac2089ebc0a3c5e71f08a8
treeb4b294653d1ed988084513972c3f22d62fb93cc5
parent2597641deae82c9a95e255518da189ab557da0af
NFSv41: nfs4_reset_session must always set NFS4CLNT_SESSION_DRAINING

Otherwise we have no guarantees that other processes won't start another
RPC call while we're resetting the session.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c