Home
last modified time | relevance | path

Searched hist:"9 f27783b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/lockd/
H A Dsvclock.c9f27783b Fri Nov 11 13:36:38 CST 2022 Jeff Layton <jlayton@kernel.org> 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>