diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-06-13 17:06:05 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-06-13 17:41:59 -0800 |
commit | 38f22164a9a3f2f8e33af8e0cc3ce4f17ef99cde (patch) | |
tree | 3b5de0fc73f51199bea8fcb63ad97a5b01a7c4ca /include/linux/wait.h | |
parent | 914c4d19ed4a1c64268c4c23609c43d3d6765969 (diff) |
Update bcachefs sources to 6a25f7a00d bcachefs: fix ioctl code
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r-- | include/linux/wait.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h index f6f5757a..62d15e5d 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -90,6 +90,8 @@ do { \ __wait_event(wq, condition); \ } while (0) +#define wait_event_killable(wq, condition) ({wait_event(wq, condition); 0; }) + #define __wait_event_timeout(wq, condition, timeout) \ ___wait_event(wq, ___wait_cond_timeout(condition), \ TASK_UNINTERRUPTIBLE, 0, timeout, \ |