summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/io_uring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 9ed79509f389..f730af32c17a 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -2796,7 +2796,7 @@ static void io_complete_rw_common(struct kiocb *kiocb, long res,
static bool io_resubmit_prep(struct io_kiocb *req)
{
struct iovec inline_vecs[UIO_FASTIOV], *iovec = inline_vecs;
- int rw, ret = -ECANCELED;
+ int rw, ret;
struct iov_iter iter;
/* already prepared */