On Sat, 30 Mar 2024 09:53:00 +0900, Damien Le Moal wrote: > 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(). > > > [...] Applied, thanks! [1/1] nullblk: Fix cleanup order in null_add_dev() error path commit: a057e4036487351ad25002a88c75f7d195e36d79 Best regards, -- Jens Axboe