]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Only reap expired delegations
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 26 Jul 2019 13:40:53 +0000 (14:40 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 5 Aug 2019 02:35:40 +0000 (22:35 -0400)
commit7a439e301d48e49d9813e12091e148832732d820
tree76adb80f2591ef72409fac11d8da6c055a202a10
parent0b019068533dfac04304b3af5e7695b996955555
NFSv4.1: Only reap expired delegations

Fix nfs_reap_expired_delegations() to ensure that we only reap delegations
that are actually expired, rather than triggering on random errors.

Fixes: 3456223d216b1 ("NFSv4.1: Test delegation stateids when server...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c