summaryrefslogtreecommitdiffstats
path: root/fs/dlm/plock.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-05 20:15:25 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-05 20:15:25 +0100
commitd000f8d67f2bb464c9cf4fb5103f78d8cb406c05 (patch)
treeee34c7a8a621389136a75f74ceddcf28104a7332 /fs/dlm/plock.c
parentMerge tag 'locks-v4.4-1' of git://git.samba.org/jlayton/linux (diff)
parentdlm: make posix locks interruptible (diff)
downloadlinux-d000f8d67f2bb464c9cf4fb5103f78d8cb406c05.tar.xz
linux-d000f8d67f2bb464c9cf4fb5103f78d8cb406c05.zip
Merge tag 'dlm-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm
Pull dlm update from David Teigland: "This includes one simple fix to make posix locks interruptible by signals in cases where a signal handler is used" * tag 'dlm-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm: dlm: make posix locks interruptible
Diffstat (limited to 'fs/dlm/plock.c')
-rw-r--r--fs/dlm/plock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/plock.c b/fs/dlm/plock.c
index 3585cc056fd1..d401425f602a 100644
--- a/fs/dlm/plock.c
+++ b/fs/dlm/plock.c
@@ -145,7 +145,7 @@ int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
send_op(op);
if (xop->callback == NULL) {
- rv = wait_event_killable(recv_wq, (op->done != 0));
+ rv = wait_event_interruptible(recv_wq, (op->done != 0));
if (rv == -ERESTARTSYS) {
log_debug(ls, "dlm_posix_lock: wait killed %llx",
(unsigned long long)number);