linux/fs/lockd
Jeff Layton 9f27783b4d lockd: fix file selection in nlmsvc_cancel_blocked
We currently do a lock_to_openmode call based on the arguments from the
NLM_UNLOCK call, but that will always set the fl_type of the lock to
F_UNLCK, and the O_RDONLY descriptor is always chosen.

Fix it to use the file_lock from the block instead.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2022-12-10 11:01:11 -05:00
..
clnt4xdr.c
clntlock.c
clntproc.c
clntxdr.c
host.c
Makefile
mon.c
netns.h
procfs.c
procfs.h
svc.c
svc4proc.c lockd: set missing fl_flags field when retrieving args 2022-12-10 11:01:11 -05:00
svclock.c lockd: fix file selection in nlmsvc_cancel_blocked 2022-12-10 11:01:11 -05:00
svcproc.c lockd: set missing fl_flags field when retrieving args 2022-12-10 11:01:11 -05:00
svcshare.c
svcsubs.c lockd: set other missing fields when unlocking files 2022-12-10 11:01:11 -05:00
svcxdr.h
xdr.c
xdr4.c