NFSv4: Ensure we throw out bad delegation stateids on NFS4ERR_BAD_STATEID
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 9 Feb 2012 20:31:36 +0000 (15:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:33:42 +0000 (16:33 -0800)
commit2efb4f6b48f54918213f0b8c3f7135aca328f8f3
treeee88e7d212c437eec5c225ea8458230b92ef6ea9
parente9513216eb2c0276e227fbb9a6f754e16c9c7510
NFSv4: Ensure we throw out bad delegation stateids on NFS4ERR_BAD_STATEID

commit b9f9a03150969e4bd9967c20bce67c4de769058f upstream.

To ensure that we don't just reuse the bad delegation when we attempt to
recover the nfs4_state that received the bad stateid error.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4state.c