android_kernel_motorola_sm6375/fs/dlm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Aring bd020c7763 fs: dlm: interrupt posix locks only when process is killed
[ Upstream commit 59e45c758ca1b9893ac923dd63536da946ac333b ]

If a posix lock request is waiting for a result from user space
(dlm_controld), do not let it be interrupted unless the process
is killed. This reverts commit a6b1533e9a ("dlm: make posix locks
interruptible"). The problem with the interruptible change is
that all locks were cleared on any signal interrupt. If a signal
was received that did not terminate the process, the process
could continue running after all its dlm posix locks had been
cleared. A future patch will add cancelation to allow proper
interruption.

Cc: [email protected]
Fixes: a6b1533e9a ("dlm: make posix locks interruptible")
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-08-11 11:53:45 +02:00
..
ast.c fs: dlm: fix race between test_bit() and queue_work() 2022-10-26 13:22:14 +02:00
ast.h
config.c fs: dlm: fix memory leak when fenced 2021-07-14 16:53:17 +02:00
config.h
debug_fs.c fs: dlm: fix debugfs dump 2021-05-19 10:08:20 +02:00
dir.c
dir.h
dlm_internal.h
Kconfig
lock.c fs: dlm: handle -EBUSY first in lock arg validation 2022-10-26 13:22:14 +02:00
lock.h
lockspace.c
lockspace.h
lowcomms.c fs: dlm: cancel work sync othercon 2021-07-14 16:53:17 +02:00
lowcomms.h
lvb_table.h
main.c
Makefile
member.c
member.h
memory.c
memory.h
midcomms.c
midcomms.h
netlink.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
plock.c fs: dlm: interrupt posix locks only when process is killed 2023-08-11 11:53: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