mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
In null_add_dev(), if an error happen after initializing the resources
for a zoned null block device, we must free these resources before
exiting the function. To ensure this, move the out_cleanup_zone label
after out_cleanup_disk as we jump to this latter label if an error
happens after calling null_init_zoned_dev().
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| null_blk.h | ||
| trace.c | ||
| trace.h | ||
| zoned.c | ||