diff options
| author | Jackie Liu <liuyun01@kylinos.cn> | 2026-03-31 18:45:09 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-01 10:21:13 -0600 |
| commit | 19a8cc6cda580a3726ab8f117e7c6de507376d9b (patch) | |
| tree | 4565f1cf0e708bcd1f295764c5eb00e905f3923b /drivers/char/drm/git@git.tavy.me:linux.git | |
| parent | 7c713dd0078651d040a0251eab6e29e3c2e4ee11 (diff) | |
io_uring/rsrc: use io_cache_free() to free node
Replace kfree(node) with io_cache_free() in io_buffer_register_bvec()
to match all other error paths that free nodes allocated via
io_rsrc_node_alloc(). The node is allocated through io_cache_alloc()
internally, so it should be returned to the cache via io_cache_free()
for proper object reuse.
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Link: https://patch.msgid.link/20260331104509.7055-1-liu.yun@linux.dev
[axboe: remove fixes tag, it's not a fix, it's a cleanup]
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
