diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-05 20:15:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-05 20:15:25 +0100 |
commit | d000f8d67f2bb464c9cf4fb5103f78d8cb406c05 (patch) | |
tree | ee34c7a8a621389136a75f74ceddcf28104a7332 /fs/dlm/plock.c | |
parent | Merge tag 'locks-v4.4-1' of git://git.samba.org/jlayton/linux (diff) | |
parent | dlm: make posix locks interruptible (diff) | |
download | linux-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.c | 2 |
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); |