aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2022-11-11 14:36:38 -0500
committerChuck Lever <[email protected]>2022-12-10 11:01:11 -0500
commit9f27783b4dd235ef3c8dbf69fc6322777450323c (patch)
treec85a5bedde5bdf437171e8fb56f6ac13073ae772 /lib/mpi/mpi-mod.c
parent69efce009f7df888e1fede3cb2913690eb829f52 (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