Re: block: add back the bd_holder_dir reference in bd_link_disk_holder

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

 



On Fri, Aug 20 2021 at  5:49P -0400,
Christoph Hellwig <hch@xxxxxx> wrote:

> This essentially reverts "block: remove the extra kobject reference in
> bd_link_disk_holder".  That commit dropped the extra reference because
> the condition in the comment can't be true.  But it turns out that
> comment did not actually describe the problematic situation, so add
> back the extra reference and document it properly.
> 
> Fixes: fbd9a39542ec ("block: remove the extra kobject reference in bd_link_disk_holder")
> Reported-by: Tushar Sugandhi <tusharsu@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Looks good, thanks.
(btw, your linux-block cc had a typo, Jens are you able to pick this fix up regardless?)

Reviewed-by: Mike Snitzer <snitzer@xxxxxxxxxx>




[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