[PATCH 18/24] dm: open code dm_get_dev_t in dm_init_init

Mike Snitzer snitzer at kernel.org
Tue May 23 09:57:24 PDT 2023


On Tue, May 23 2023 at  3:45P -0400,
Christoph Hellwig <hch at lst.de> wrote:

> dm_init_init is called from early boot code, and thus lookup_bdev
> will never succeed.  Just open code that call to early_lookup_bdev
> instead.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Mike Snitzer <snitzer at kernel.org>



More information about the linux-mtd mailing list