Olga Kornievskaia 7b98c74da2 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>
2019-11-25 09:53:35 +01:00
..
2017-10-08 10:26:10 +02:00
2017-12-14 09:28:23 +01:00
2016-10-04 16:20:26 -04:00
2016-03-31 00:30:15 -04:00
2016-05-17 15:47:55 -04:00
2016-07-30 16:33:25 -07:00
2019-09-21 07:14:16 +02:00
2016-10-07 18:46:28 -07:00
2016-07-20 23:30:06 -04:00
2018-03-18 11:18:54 +01:00