[PATCH 28/45] block: simplify part_to_disk

Hannes Reinecke hare at suse.de
Mon Nov 30 02:38:14 EST 2020


On 11/28/20 5:14 PM, Christoph Hellwig wrote:
> Now that struct hd_struct has a block_device pointer use that to
> find the disk.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Jan Kara <jack at suse.cz>
> Acked-by: Tejun Heo <tj at kernel.org>
> ---
>   include/linux/genhd.h | 10 +++-------
>   1 file changed, 3 insertions(+), 7 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