diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-04-08 11:31:05 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-08 13:21:30 -0600 |
| commit | 2c453a4281245135b9e6f1048962272c74853b53 (patch) | |
| tree | 51733bdc7d914a05ccd4e39b79039a4cd1856d50 /drivers/char/drm/git@git.tavy.me:linux.git | |
| parent | f847bf6d29304087f94ef4b4a8646f69d96945f9 (diff) | |
io_uring/tctx: have io_uring_alloc_task_context() return tctx
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>
Diffstat (limited to 'drivers/char/drm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
