[Drbd-dev] [PATCH 68/78] block: remove ->bd_contains

Hannes Reinecke hare at suse.de
Fri Nov 20 08:52:46 CET 2020


On 11/16/20 3:57 PM, Christoph Hellwig wrote:
> Now that each gendisk has a reference to the block_device referencing
> it, we can just use that everywhere and get rid of ->bd_contain.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>   drivers/scsi/scsicam.c    |  2 +-
>   fs/block_dev.c            | 50 +++++++++++++--------------------------
>   include/linux/blk_types.h |  4 +++-
>   3 files changed, 20 insertions(+), 36 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer


More information about the drbd-dev mailing list