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)
committerZefan Li <lizefan@huawei.com>
Mon, 2 Feb 2015 09:05:20 +0000 (17:05 +0800)
commit552f4eccfeeb34a4152d9f8190ec0f23e4afa26f
treea82a9013ab731a208dbf090b76b957e392e79bd4
parent6aaa1e03cb296b1824b3150723909d740f6b293e
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: Zefan Li <lizefan@huawei.com>
fs/nfs/nfs4proc.c