io_uring: refactor io_get_sequence()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 17 Jun 2021 17:14:05 +0000 (18:14 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Jun 2021 15:22:02 +0000 (09:22 -0600)
commita3dbdf54da80326fd12bc11ad75ecd699a82374f
tree5ca8e303a10f0f88f34d4501d9460d18a97b3dcb
parentc854357bc1b965e1e261c612d5be1297dfb3e406
io_uring: refactor io_get_sequence()

Clean up io_get_sequence() and add a comment describing the magic around
sequence correction.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f55dc409936b8afa4698d24b8677a34d31077ccb.1623949695.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c