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:23:04 +0000 (09:23 -0800)
commitb8bc6004711c8615ec377fba64077c4fc696589a
tree8dc1563f44af21b7cf618fe06063d9d372432b22
parent4e2e6c8457fabdd38b9e9b3b83d46a3e5eeb0bfc
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