Commit e45cff58 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe
Browse files

io_uring: don't restrict issue_flags for io_openat



45d189c6 ("io_uring: replace force_nonblock with flags") did
something strange for io_openat() slicing all issue_flags but
IO_URING_F_NONBLOCK. Not a bug for now, but better to just forward the
flags.

Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 86e0d676
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3828,7 +3828,7 @@ static int io_openat2(struct io_kiocb *req, unsigned int issue_flags)

static int io_openat(struct io_kiocb *req, unsigned int issue_flags)
{
	return io_openat2(req, issue_flags & IO_URING_F_NONBLOCK);
	return io_openat2(req, issue_flags);
}

static int io_remove_buffers_prep(struct io_kiocb *req,