summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2026-05-12 21:13:38 +0300
committerChuck Lever <cel@kernel.org>2026-06-09 23:32:59 +0300
commit6d4c0dfeba728f2d06f634f02eb7606b82d87fbd (patch)
tree88edf5dbc51f7318396ef8414a6e2dadb8d2425c /include
parent5412049208e669925f7b08bbfabe3cd28a598c5b (diff)
downloadlinux-6d4c0dfeba728f2d06f634f02eb7606b82d87fbd.tar.xz
lockd: Drop locks_init_lock() from nlm4_lock_to_lockd_lock()
The NLMv4 GRANTED helper passes the wrapper's lock to nlmclnt_grant(), which compares only fl_start, fl_end, svid, and fh, and the shared nlmclnt_lock_event tracepoint now sources its byte-range fields from fl_start and fl_end as well. Both fl_start and fl_end are set unconditionally by lockd_set_file_lock_range4() on the line below, so the locks_init_lock() call left no observable effect: every other field of struct file_lock is unread on the GRANTED path. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions