On Tue, 21 Dec 2021 17:18:51 +0100, Christoph Hellwig wrote: > One device_add is called disk->ev will be freed by disk_release, so we > should free it twice. Fix this by allocating disk->ev after device_add > so that the extra local unwinding can be removed entirely. > > Based on an earlier patch from Tetsuo Handa. > > > [...] Applied, thanks! [1/1] block: fix error unwinding in device_add_disk commit: 99d8690aae4b2f0d1d90075de355ac087f820a66 Best regards, -- Jens Axboe