diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-04-08 11:31:38 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-08 13:21:34 -0600 |
| commit | 7880174e1e5e88944ea75cf871efd77ec5e3ef51 (patch) | |
| tree | ecf5ec0d30cabc602215e1fda6d1ad4f1ff3b246 /drivers/char/drm/git@git.tavy.me:linux.git | |
| parent | 2c453a4281245135b9e6f1048962272c74853b53 (diff) | |
io_uring/tctx: clean up __io_uring_add_tctx_node() error handling
Refactor __io_uring_add_tctx_node() so that on error it never leaves
current->io_uring pointing at a half-setup tctx. This moves the
assignment of current->io_uring to the end of the function post any
failure points.
Separate out the node installation into io_tctx_install_node() to
further clean this up.
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
