t/io_uring: make submitter_init() return < 0 on error
authorJens Axboe <axboe@kernel.dk>
Thu, 27 Apr 2023 13:20:53 +0000 (07:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Apr 2023 13:20:53 +0000 (07:20 -0600)
commitae7ea7a4dd51ef5be79a21fc5fd65f1a6acbde17
treed729dcfa56aa55bd76e66271cedfa3b031a66c26
parent9724b4f5ebf0841087c5a56c1d83efe0f4aeb6d7
t/io_uring: make submitter_init() return < 0 on error

Rather than fudge around with setting some finish variables, have
it error it directly and have the callers actually check for that.

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