summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-03-03 13:16:01 +0100
committerChuck Lever <chuck.lever@oracle.com>2023-04-26 15:05:00 +0200
commit244cc19196d2f6691d34e8cd9bc34a55e4f778e5 (patch)
tree8a40529dcfe70d11b2689c3c7a27b6864aa9c542 /mm/memory-failure.c
parentlockd: fix races in client GRANTED_MSG wait logic (diff)
downloadlinux-244cc19196d2f6691d34e8cd9bc34a55e4f778e5.tar.xz
linux-244cc19196d2f6691d34e8cd9bc34a55e4f778e5.zip
lockd: server should unlock lock if client rejects the grant
Currently lockd just dequeues the block and ignores it if the client sends a GRANT_RES with a status of nlm_lck_denied. That status is an indicator that the client has rejected the lock, so the right thing to do is to unlock the lock we were trying to grant. Reported-by: Yongcheng Yang <yoyang@redhat.com> Link: https://bugzilla.redhat.com/show_bug.cgi?id=2063818 Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions