diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-11-11 22:36:38 +0300 |
---|---|---|
committer | Chuck Lever <cel@kernel.org> | 2022-12-10 19:01:11 +0300 |
commit | 9f27783b4dd235ef3c8dbf69fc6322777450323c (patch) | |
tree | c85a5bedde5bdf437171e8fb56f6ac13073ae772 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 69efce009f7df888e1fede3cb2913690eb829f52 (diff) | |
download | linux-9f27783b4dd235ef3c8dbf69fc6322777450323c.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions