commit | 4edf20f9990230e9b85e79954d5cd28fc93616e9 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Oct 13 09:43:59 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Oct 17 09:25:43 2020 -0600 |
tree | d3f13f4513257150d880dccc7447fd4d550d739f | |
parent | 6a0af224c21309f24dbb1b79d0744b255d7156a0 [diff] |
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>