diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-11-21 23:21:03 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-25 19:56:11 -0700 |
commit | f9bd67f69af56d712bfd498f5ad9cf7bb177d600 (patch) | |
tree | be1887f7d4a4eb444d9491731c5548ed102dd6ce /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b18fdf71e01fba29a804d63f8c1e2ed61011170d (diff) |
io_uring: only !null ptr to io_issue_sqe()
Pass only non-null @nxt to io_issue_sqe() and handle it at the caller's
side. And propagate it.
- kiocb_done() is only called from io_read() and io_write(), which are
only called from io_issue_sqe(), so it's @nxt != NULL
- io_put_req_find_next() is called either with explicitly non-null local
nxt, or from one of the functions in io_issue_sqe() switch (or their
callees).
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions