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)
commita6b1533e9a57d76cd3d9b7649d29ac604b1874b8
treebd6a322b87c9e3db8728035a51cf72b9dbd2571b
parent7379047d5585187d1288486d4627873170d0005a
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