[PATCH 40/45] block: pass a block_device to blk_alloc_devt

Hannes Reinecke hare at suse.de
Mon Nov 30 02:48:25 EST 2020


On 11/28/20 5:15 PM, Christoph Hellwig wrote:
> Pass the block_device actually needed instead of the hd_struct.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Jan Kara <jack at suse.cz>
> ---
>   block/blk.h             |  2 +-
>   block/genhd.c           | 14 +++++++-------
>   block/partitions/core.c |  2 +-
>   3 files changed, 9 insertions(+), 9 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 linux-mtd mailing list