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

Hannes Reinecke
2020-11-30T07:49:09Z

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@lst.de>
> Reviewed-by: Jan Kara <jack@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@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