diff options
author | Jeff Layton <[email protected]> | 2022-11-11 14:36:38 -0500 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2022-12-10 11:01:11 -0500 |
commit | 9f27783b4dd235ef3c8dbf69fc6322777450323c (patch) | |
tree | c85a5bedde5bdf437171e8fb56f6ac13073ae772 /lib/mpi/mpi-mod.c | |
parent | 69efce009f7df888e1fede3cb2913690eb829f52 (diff) |
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 <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions