aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2022-11-11 14:36:37 -0500
committerChuck Lever <[email protected]>2022-12-10 11:01:11 -0500
commit69efce009f7df888e1fede3cb2913690eb829f52 (patch)
treeda0b6a9ec8c3ba194ec80ba28621ff901cccc38f /lib/mpi/mpi-mod.c
parent75c7940d2a86d3f1b60a0a265478cb8fc887b970 (diff)
lockd: ensure we use the correct file descriptor when unlocking
Shared locks are set on O_RDONLY descriptors and exclusive locks are set on O_WRONLY ones. nlmsvc_unlock however calls vfs_lock_file twice, once for each descriptor, but it doesn't reset fl_file. Ensure that it does. 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