]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: dig out COMP_LOCK from deep call chain
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 13 Oct 2020 08:43:59 +0000 (09:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 17 Oct 2020 15:25:43 +0000 (09:25 -0600)
commitc7a79541f567e003d7512e8dcafecdc1a2bb166e
treed3f13f4513257150d880dccc7447fd4d550d739f
parentcb267d42f43864dfb30307a06fcab70481323c33
io_uring: dig out COMP_LOCK from deep call chain

io_req_clean_work() checks REQ_F_COMP_LOCK to pass this two layers up.
Move the check up into __io_free_req(), so at least it doesn't looks so
ugly and would facilitate further changes.

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