Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask()

From: Chris Down
Date: Wed May 22 2019 - 18:20:55 EST


+Cc: linux-mm, since this broke mmots tree and has been applied there

This patch is missing a definition for signal_detected in io_cqring_wait, which breaks the build.

diff --git fs/io_uring.c fs/io_uring.c
index b785c8d7efc4..b34311675d2d 100644
--- fs/io_uring.c
+++ fs/io_uring.c
@@ -2182,7 +2182,7 @@ static int io_cqring_wait(struct io_ring_ctx *ctx, int min_events,
{
struct io_cq_ring *ring = ctx->cq_ring;
sigset_t ksigmask, sigsaved;
- int ret;
+ int ret, signal_detected;

if (io_cqring_events(ring) >= min_events)
return 0;