io_uring: remove REQ_F_IO_DRAINED
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 17 Jan 2020 22:22:30 +0000 (01:22 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:07 +0000 (17:04 -0700)
commit87987898a1dbc69b1138f7c10eb9abd655c03396
tree4de9e24e3b6913abe99aadae4ded072b1c0cbe29
parente46a7950d362231a4d0b078af5f4c109b8e5ac9e
io_uring: remove REQ_F_IO_DRAINED

A request can get into the defer list only once, there is no need for
marking it as drained, so remove it. This probably was left after
extracting __need_defer() for use in timeouts.

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