diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-02-12 19:48:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-02-17 15:34:46 +0300 |
commit | 60e6ce746bfcbe7541c205085c11ce0ff2ffd014 (patch) | |
tree | ccc0bdd9f94ce1d38485161e661fa3803788bb96 /scripts/generate_rust_analyzer.py | |
parent | 0e8934724f78602635d6e11c97ef48caa693cb65 (diff) | |
download | linux-60e6ce746bfcbe7541c205085c11ce0ff2ffd014.tar.xz |
io_uring: pass ctx instead of req to io_init_req_drain()
io_init_req_drain() takes a struct io_kiocb *req argument but only uses
it to get struct io_ring_ctx *ctx. The caller already knows the ctx, so
pass it instead.
Drop "req" from the function name since it operates on the ctx rather
than a specific req.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250212164807.3681036-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions