OSDN Git Service

io_uring: kill already cached timeout.seq_offset
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 14 Apr 2020 21:39:49 +0000 (00:39 +0300)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Apr 2020 01:16:57 +0000 (19:16 -0600)
commitb55ce732004989c85bf9d858c03e6d477cf9023b
tree5c8228a1b7cd00ba0a762c1512133aaafd4b7c5d
parent22cad1585c6bc6caf2688701004cf2af6865cbe0
io_uring: kill already cached timeout.seq_offset

req->timeout.count and req->io->timeout.seq_offset store the same value,
which is sqe->off. Kill the second one

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