diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2018-10-04 14:45:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 08:20:24 +0100 |
commit | 90d73c1cadb8af69fb8805638c29a9af482b46a9 (patch) | |
tree | 605d14f3bc0f4bae3d0a503fcbeb5288a5f975a7 /drivers/dma | |
parent | 799c98cba0713ddd91697a2a8fc1d551fb22101a (diff) |
NFSv4.x: fix lock recovery during delegation recall
[ Upstream commit 44f411c353bf6d98d5a34f8f1b8605d43b2e50b8 ]
Running "./nfstest_delegation --runtest recall26" uncovers that
client doesn't recover the lock when we have an appending open,
where the initial open got a write delegation.
Instead of checking for the passed in open context against
the file lock's open context. Check that the state is the same.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions