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

Hannes Reinecke
2020-11-20T07:52:55Z

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@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@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@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