diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-04-01 15:43:51 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-11 19:30:34 -0600 |
commit | 7394161cb8bd26be43ebf0075e3b0197a6c3ca01 (patch) | |
tree | d479e58d0f5daa88c842b0c77640b85ab3567369 /tools/perf/scripts/python | |
parent | 89b5066ea1d96b321c0743259169c599d3f4f969 (diff) |
io_uring: better ref handling in poll_remove_one
Instead of io_put_req() to drop not a final ref, use req_ref_put(),
which is slimmer and will also check the invariant.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/85b5774ce13ae55cc2e705abdc8cbafe1212f1bd.1617287883.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions