]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: make posix locks interruptible
authorEric Ren <zren@suse.com>
Wed, 14 Oct 2015 15:28:26 +0000 (23:28 +0800)
committerDavid Teigland <teigland@redhat.com>
Tue, 3 Nov 2015 16:38:22 +0000 (10:38 -0600)
commit548ba8b3eb845e2ed132e855f0be94a23cb4393b
treebd6a322b87c9e3db8728035a51cf72b9dbd2571b
parentba5edecbb245e5aebf333eb2ac35b6e98b966024
dlm: make posix locks interruptible

Replace wait_event_killable with wait_event_interruptible
so that a program waiting for a posix lock can be
interrupted by a signal.  With the killable version,
a program was not interruptible by a signal if it
had a signal handler set for it, overriding the default
action of terminating the process.

Signed-off-by: Eric Ren <zren@suse.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/plock.c