mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
fs: dlm: return positive pid value for F_GETLK
commit92655fbda5upstream. The GETLK pid values have all been negated since commit9d5b86ac13("fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks"). Revert this for local pids, and leave in place negative pids for remote owners. Cc: stable@vger.kernel.org Fixes:9d5b86ac13("fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks") Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
27eb7f1e37
commit
a2e6385e9b
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue