io_uring: allow IO_SQE_* flags on IORING_OP_TIMEOUT
authorJens Axboe <axboe@kernel.dk>
Wed, 4 Dec 2019 17:34:03 +0000 (10:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Dec 2019 17:34:03 +0000 (10:34 -0700)
commit901e59bba9ddad4bc6994ecb8598ea60a993da4c
treea6f4b85725762a9dbc3cb39ce100c22979c8f159
parentbca1c43cb2dbe4212aea0793bfd91aeb4c2d184d
io_uring: allow IO_SQE_* flags on IORING_OP_TIMEOUT

There's really no reason why we forbid things like link/drain etc on
regular timeout commands. Enable the usual SQE flags on timeouts.

Reported-by: 李通洲 <carter.li@eoitek.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c