diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-10-02 18:25:23 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-10-02 18:25:23 -0600 |
commit | 922a2c78f13611e2c08fc48f615c0cd367dcb6da (patch) | |
tree | dbbc6aada738d873a49ef7c97b24deefc35021aa /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 93b8cc60c37b9d17732b7a297e5dca29b50a990d (diff) |
io_uring/rsrc: cleanup io_pin_pages()
This function is overly convoluted with a goto error path, and checks
under the mmap_read_lock() that don't need to be at all. Rearrange it
a bit so the checks and errors fall out naturally, rather than needing
to jump around for it.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions