]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 19 Nov 2014 17:38:23 +0000 (18:38 +0100)
commitae87d577bf33ddcfd06cfdfa6df95a13a01f9e55
treedee3a95f6d96338e846a7681158af4613c0fcdf8
parent4d7358976da0be177081dda43759b83582709dbc
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: Jiri Slaby <jslaby@suse.cz>
fs/nfs/nfs4proc.c