diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2025-10-16 16:23:21 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-10-20 19:37:56 +0300 |
| commit | 6e9752977caa47c200f88d7df1ff114955a03bad (patch) | |
| tree | ef1aea8a2601eadd8dc3d1a8a6de6fcea4547536 /scripts/patch-kernel | |
| parent | 0c89dbbcadf126920e6f9ebfa64e2538af84fef3 (diff) | |
| download | linux-6e9752977caa47c200f88d7df1ff114955a03bad.tar.xz | |
io_uring: don't free never created regions
io_free_region() tolerates empty regions but there is no reason to that
either. If the first io_create_region() in io_register_resize_rings()
fails, just return the error without attempting to clean it up.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
