mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
io_uring: don't restrict issue_flags for io_openat
45d189c606
("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 <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
86e0d6766c
commit
e45cff5885
@ -3828,7 +3828,7 @@ err:
|
||||
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user