Skip to content

Commit e45cff5

Browse files
isilenceaxboe
authored andcommitted
io_uring: don't restrict issue_flags for io_openat
45d189c ("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: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 86e0d67 commit e45cff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/io_uring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3828,7 +3828,7 @@ static int io_openat2(struct io_kiocb *req, unsigned int issue_flags)
38283828

38293829
static int io_openat(struct io_kiocb *req, unsigned int issue_flags)
38303830
{
3831-
return io_openat2(req, issue_flags & IO_URING_F_NONBLOCK);
3831+
return io_openat2(req, issue_flags);
38323832
}
38333833

38343834
static int io_remove_buffers_prep(struct io_kiocb *req,

0 commit comments

Comments
 (0)