diff options
Diffstat (limited to 'notify.c')
-rw-r--r-- | notify.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -100,7 +100,14 @@ void mog_notify_wait(bool need_usage_file) mfd = mog_idleq_wait_intr(mog_notify_queue, timeout); if (mfd) notify_queue_step(mfd); - else if (errno == EINTR) + else + /* + * errno == EINTR, but epoll_pwait on some Linux v5.0+/v5.1+ + * fails to return EINTR. This should be fixed in Linux, + * soon: + * <20190427093319.sgicqik2oqkez3wk@dcvr> + * <20190507043954.9020-1-deepa.kernel@gmail.com> + */ note_run(); } |