diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-03-03 21:33:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-03 20:02:35 -0700 |
commit | 594506fec5faec2b1ec82ad6fb0c8132512fc459 (patch) | |
tree | 59c8b18a373e1df6ae07e48af6219645e11653ef /fs/cachefiles | |
parent | a2100672f3b2afdd55ccc2e640d1a8bd99ff6338 (diff) | |
download | linux-stable-594506fec5faec2b1ec82ad6fb0c8132512fc459.tar.gz linux-stable-594506fec5faec2b1ec82ad6fb0c8132512fc459.tar.bz2 linux-stable-594506fec5faec2b1ec82ad6fb0c8132512fc459.zip |
io_uring: make submission ref putting consistent
The rule is simple, any async handler gets a submission ref and should
put it at the end. Make them all follow it, and so more consistent.
This is a preparation patch, and as io_wq_assign_next() currently won't
ever work, this doesn't care to use io_put_req_find_next() instead of
io_put_req().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
refcount_inc_not_zero() -> refcount_inc() fix.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions