Skip to content
Commit 9c3eef77 authored by Jeff Layton's avatar Jeff Layton Committed by Greg Kroah-Hartman
Browse files

lockd: set fl_owner when unlocking files

[ Upstream commit aec15824 ]

Unlocking a POSIX lock on an inode with vfs_lock_file only works if
the owner matches. Ensure we set it in the request.

Cc: J. Bruce Fields <bfields@fieldses.org>
Fixes: 7f024fcd

 ("Keep read and write fds with each nlm_file")
Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1e92426e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment