]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/cancel: add generic cancel helper
authorJens Axboe <axboe@kernel.dk>
Wed, 5 Feb 2025 20:13:58 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Feb 2025 12:34:45 +0000 (05:34 -0700)
commit8fa374f90b721ae5f56605ff67fc94a8b583e10c
treec62cf0df2bd2e1d271ff270927d98a0bacc4429b
parent7d9944f5061e49cab5ee0e1c9507c2e8f94d41b8
io_uring/cancel: add generic cancel helper

Any opcode that is cancelable ends up defining its own cancel helper
for finding and canceling a specific request. Add a generic helper that
can be used for this purpose.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/cancel.c
io_uring/cancel.h