diff options
author | Daniele Albano <d.albano@gmail.com> | 2020-07-18 23:15:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-18 23:15:16 +0300 |
commit | 61710e437f2807e26a3402543bdbb7217a9c8620 (patch) | |
tree | 8173d238114e247df76e37a779f8f29ad2f637d8 /net | |
parent | 807abcb0883439af5ead73f3308310453b97b624 (diff) | |
download | linux-61710e437f2807e26a3402543bdbb7217a9c8620.tar.xz |
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: Daniele Albano <d.albano@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions