+7
−1
+10
−11
+2
−2
Loading
Instead of having io_uring_alloc_task_context() return an int and
assign tsk->io_uring, just have it return the task context directly.
This enables cleaner error handling in callers, which may have
failure points post calling io_uring_alloc_task_context().
Signed-off-by:
Jens Axboe <axboe@kernel.dk>