io_uring/cancel: add generic remove_all helper
Any opcode that is cancelable ends up defining its own remove all
helper, which iterates the pending list and cancels matches. Add a
generic helper for it, which can be used by them.
Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Loading
Please register or sign in to comment