Skip to content
Commit 61710e43 authored by Daniele Albano's avatar Daniele Albano Committed by Jens Axboe
Browse files

io_uring: always allow drain/link/hardlink/async sqe flags



We currently filter these for timeout_remove/async_cancel/files_update,
but we only should be filtering for fixed file and buffer select. This
also causes a second read of sqe->flags, which isn't needed.

Just check req->flags for the relevant bits. This then allows these
commands to be used in links, for example, like everything else.

Signed-off-by: default avatarDaniele Albano <d.albano@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 807abcb0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment