Re: [PATCH] block: fix error unwinding in device_add_disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux