diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-04-08 11:50:08 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-08 13:21:35 -0600 |
| commit | b4d893d636f435701f025e43146d0a4b9a065102 (patch) | |
| tree | 325bb019b688e22bb32889665edb93f9cab3adcc /Documentation/controllers/git@git.tavy.me:linux.git | |
| parent | 7880174e1e5e88944ea75cf871efd77ec5e3ef51 (diff) | |
io_uring/register: don't get a reference to the registered ring fd
This isn't necessary and was only done because the register path isn't a
hot path and hence the extra ref/put doesn't matter, and to have the
exit path be able to unconditionally put whatever file was gotten
regardless of the type.
In preparation for sharing this code with the main io_uring_enter(2)
syscall, drop the reference and have the caller conditionally put the
file if it was a normal file descriptor.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/controllers/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
