io_uring: remove opcode check on ltimeout kill
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 22 Oct 2020 15:43:08 +0000 (16:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Oct 2020 19:07:11 +0000 (13:07 -0600)
commite08102d507f34e6591de521a4c2587c6f02c7996
tree422e446c4946e048bb8104e3a591631a372da8bb
parentee6e00c868221f5f7d0b6eb4e8379a148e26bc20
io_uring: remove opcode check on ltimeout kill

__io_kill_linked_timeout() already checks for REQ_F_LTIMEOUT_ACTIVE and
it's set only for linked timeouts. No need to verify next request's
opcode.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c