io_uring/waitid: setup async data in the prep handler
authorJens Axboe <axboe@kernel.dk>
Wed, 12 Feb 2025 22:52:54 +0000 (15:52 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Feb 2025 22:53:52 +0000 (15:53 -0700)
commit2b4fc4cd43f28e9e39179c8702e6ee821258584d
treed06aa8d53e4264ebe50ab0091bbee2a5a6013f55
parent0edf1283a9d1419a2095b4fcdd95c11ac00a191c
io_uring/waitid: setup async data in the prep handler

This is the idiomatic way that opcodes should setup their async data,
so that it's always valid inside ->issue() without issue needing to
do that.

Fixes: f31ecf671ddc4 ("io_uring: add IORING_OP_WAITID support")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/waitid.c