linux-stable/fs/dlm
Alexander Aring 370a763ca0 fs: dlm: return positive pid value for F_GETLK
commit 92655fbda5 upstream.

The GETLK pid values have all been negated since commit 9d5b86ac13
("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>
2023-08-11 11:33:45 +02:00
..
Kconfig
Makefile
ast.c fs: dlm: fix race between test_bit() and queue_work() 2022-10-26 13:16:55 +02:00
ast.h
config.c fs: dlm: fix memory leak when fenced 2021-07-20 16:17:33 +02:00
config.h
debug_fs.c fs: dlm: fix debugfs dump 2021-05-22 10:57:35 +02:00
dir.c
dir.h
dlm_internal.h
lock.c fs: dlm: handle -EBUSY first in lock arg validation 2022-10-26 13:16:55 +02:00
lock.h
lockspace.c
lockspace.h
lowcomms.c fs: dlm: cancel work sync othercon 2021-07-20 16:17:33 +02:00
lowcomms.h
lvb_table.h
main.c
member.c
member.h
memory.c
memory.h
midcomms.c
midcomms.h
netlink.c treewide: Remove uninitialized_var() usage 2023-08-11 11:33:32 +02:00
plock.c fs: dlm: return positive pid value for F_GETLK 2023-08-11 11:33:45 +02:00
rcom.c
rcom.h
recover.c
recover.h
recoverd.c
recoverd.h
requestqueue.c
requestqueue.h
user.c
user.h
util.c
util.h