diff --git a/Makefile b/Makefile index 9dde2c230789..447ed158d6bc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 10 -SUBLEVEL = 171 +SUBLEVEL = 172 EXTRAVERSION = NAME = Dare mighty things diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 0c27b81ee1eb..cf6f8aeb450d 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -7139,7 +7139,8 @@ static int io_init_req(struct io_ring_ctx *ctx, struct io_kiocb *req, if (io_op_defs[req->opcode].needs_file) { req->file = io_file_get(ctx, req, READ_ONCE(sqe->fd), - (sqe_flags & IOSQE_FIXED_FILE), 0); + (sqe_flags & IOSQE_FIXED_FILE), + IO_URING_F_NONBLOCK); if (unlikely(!req->file)) ret = -EBADF; }