Re: [PATCH 08/18] sd: use __register_blkdev to avoid a modprobe for an unregistered dev_t

From: Martin K. Petersen
Date: Thu Oct 29 2020 - 22:15:57 EST



Christoph,

> Switch from using blk_register_region to the probe callback passed to
> __register_blkdev to disable the request_module call for an unclaimed
> dev_t in the SD majors.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

--
Martin K. Petersen Oracle Linux Engineering