Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: fbd9a39 ("block: remove the extra kobject reference in bd_link_disk_holder") Reported-by: Tushar Sugandhi <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information