NFSv4: Ensure that we remove NFSv4.0 delegations when state has expired
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 17 Oct 2014 12:10:25 +0000 (15:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2014 17:22:54 +0000 (09:22 -0800)
commit361eeee70ea9c57a2ce018ea0ce720f44a3fc07d
tree834497f2f74e9b64574e3c2292d60ef94218f5f7
parentabf9765d3b73f3bf7ebea763b9b86aa38e29bd24
NFSv4: Ensure that we remove NFSv4.0 delegations when state has expired

commit 4dfd4f7af0afd201706ad186352ca423b0f17d4b upstream.

NFSv4.0 does not have TEST_STATEID/FREE_STATEID functionality, so
unlike NFSv4.1, the recovery procedure when stateids have expired or
have been revoked requires us to just forget the delegation.

http://lkml.kernel.org/r/CAN-5tyHwG=Cn2Q9KsHWadewjpTTy_K26ee+UnSvHvG4192p-Xw@mail.gmail.com
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c