diff options
| author | Caleb Sander Mateos <[email protected]> | 2025-02-12 16:48:05 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-02-17 12:34:46 +0000 |
| commit | 60e6ce746bfcbe7541c205085c11ce0ff2ffd014 (patch) | |
| tree | ccc0bdd9f94ce1d38485161e661fa3803788bb96 /io_uring/poll.c | |
| parent | io_uring: use IO_REQ_LINK_FLAGS more (diff) | |
| download | kernel-60e6ce746bfcbe7541c205085c11ce0ff2ffd014.tar.gz kernel-60e6ce746bfcbe7541c205085c11ce0ff2ffd014.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/poll.c')
0 files changed, 0 insertions, 0 deletions
