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
..
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 dlm: remove BUG() before panic() 2020-06-25 15:41:52 +02:00
Kconfig
lock.c fs: dlm: handle -EBUSY first in lock arg validation 2022-10-26 13:16:55 +02:00
lock.h
lockspace.c dlm: Fix kobject memleak 2020-08-21 09:48:13 +02:00
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
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
member.c dlm: fix possible call to kfree() for non-initialized pointer 2019-12-17 20:37:41 +01:00
member.h
memory.c dlm: NULL check before kmem_cache_destroy is not needed 2019-12-17 20:38:17 +01:00
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 dlm: fix invalid cluster name warning 2019-12-17 20:38:33 +01:00
user.h
util.c
util.h