Files
linux/block
Jackie Liu 2a2f520fda 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: 6e945ffb65 ("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>
2026-03-31 07:05:49 -06:00
..
2026-02-12 04:23:53 -07:00
2026-03-17 19:27:14 -06:00
2026-03-09 07:47:02 -06:00
2026-03-31 07:04:00 -06:00
2026-03-31 07:04:00 -06:00