summaryrefslogtreecommitdiff
path: root/drivers/message/i2o/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-04-08 11:31:05 -0600
committerJens Axboe <axboe@kernel.dk>2026-04-08 13:21:30 -0600
commit2c453a4281245135b9e6f1048962272c74853b53 (patch)
tree51733bdc7d914a05ccd4e39b79039a4cd1856d50 /drivers/message/i2o/git@git.tavy.me:linux.git
parentf847bf6d29304087f94ef4b4a8646f69d96945f9 (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/message/i2o/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions