diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-20 12:49:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-21 06:14:26 +0300 |
commit | 759e0fd4b67766c96b33a114bba0c7d7521fecd0 (patch) | |
tree | ec34c2e6ee2d2ed804682780b5efb8cebf3e86bf /block/blk-wbt.h | |
parent | e70344c05995a190a56bbd1a23dc2218bcc8c924 (diff) | |
download | linux-759e0fd4b67766c96b33a114bba0c7d7521fecd0.tar.xz |
block: add back the bd_holder_dir reference in bd_link_disk_holder
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@linux.microsoft.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions