diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-19 14:08:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:22:22 +0200 |
commit | 652993a5aae5ffa1d59188058c07e8f0e5d2461f (patch) | |
tree | a88eccf00c52904a930019881e712d67ac859f8e /drivers | |
parent | 5026932adb1a5e862787676a0337aa58fbf91251 (diff) | |
download | linux-stable-652993a5aae5ffa1d59188058c07e8f0e5d2461f.tar.gz linux-stable-652993a5aae5ffa1d59188058c07e8f0e5d2461f.tar.bz2 linux-stable-652993a5aae5ffa1d59188058c07e8f0e5d2461f.zip |
NFSv4: Fix delegation state recovery
[ Upstream commit 5eb8d18ca0e001c6055da2b7f30d8f6dca23a44f ]
Once we clear the NFS_DELEGATED_STATE flag, we're telling
nfs_delegation_claim_opens() that we're done recovering all open state
for that stateid, so we really need to ensure that we test for all
open modes that are currently cached and recover them before exiting
nfs4_open_delegation_recall().
Fixes: 24311f884189d ("NFSv4: Recovery of recalled read delegations...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.3+
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions