diff options
| author | 2026-03-31 19:12:16 +0800 | |
|---|---|---|
| committer | 2026-03-31 07:05:49 -0600 | |
| commit | 2a2f520fda824b5a25c93f2249578ea150c24e06 (patch) | |
| tree | 84f64c2db1df3654db54a3be708b340803191471 /include/linux/surface_aggregator/ssh:/git@git.zx2c4.com | |
| parent | loop: fix partition scan race between udev and loop_reread_partitions() (diff) | |
block: fix zones_cond memory leak on zone revalidation error paths
When blk_revalidate_disk_zones() fails after disk_revalidate_zone_resources()
has allocated args.zones_cond, the memory is leaked because no error path
frees it.
Fixes: 6e945ffb6555 ("block: use zone condition to determine conventional zones")
Suggested-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Link: https://patch.msgid.link/20260331111216.24242-1-liu.yun@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/surface_aggregator/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
