From: Ricardo Labiaga Date: Sun, 6 Dec 2009 17:57:34 +0000 (-0500) Subject: nfs41: Don't clear DRAINING flag on NFS4ERR_STALE_CLIENTID X-Git-Tag: v2.6.33-rc1~287^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dfdf404c99347e2e224e25f8626e7b6399a05cd;p=pandora-kernel.git nfs41: Don't clear DRAINING flag on NFS4ERR_STALE_CLIENTID If CREATE_SESSION fails with NFS4ERR_STALE_CLIENTID, don't clear the NFS4CLNT_SESSION_DRAINING flag and don't wake RPCs waiting for the session to be reestablished. We don't have a session yet, so there is no reason to wake other RPCs. This avoids sending spurious compounds with bogus sequenceID during session and state recovery. Signed-off-by: Ricardo Labiaga [Trond.Myklebust@netapp.com: cleaned up patch by adding the nfs41_begin/end_drain_session() helpers] Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed