]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: Always REQ_F_FREE_SQE for allocated sqe
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Nov 2019 20:32:47 +0000 (23:32 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 02:56:06 +0000 (19:56 -0700)
commitc08398cb87069c0d1eddb244384bd31a23097e8e
tree7d81e19de9cee732ea9740dd47e0bd001498cb4f
parenta7e9c5ce44b81c81369c506141b898f19d2979ca
io_uring: Always REQ_F_FREE_SQE for allocated sqe

Always mark requests with allocated sqe and deallocate it in
__io_free_req(). It's easier to follow and doesn't add edge cases.

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