[dm-devel] [PATCH 17/45] init: refactor name_to_dev_t

Tejun Heo tj at kernel.org
Tue Nov 24 17:38:34 UTC 2020


On Tue, Nov 24, 2020 at 02:27:23PM +0100, Christoph Hellwig wrote:
> Split each case into a self-contained helper, and move the block
> dependent code entirely under the pre-existing #ifdef CONFIG_BLOCK.
> This allows to remove the blk_lookup_devt stub in genhd.h.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Reviewed-by: Jan Kara <jack at suse.cz>
> Reviewed-by: Johannes Thumshirn <johannes.thumshirn at wdc.com>

Acked-by: Tejun Heo <tj at kernel.org>

-- 
tejun




More information about the dm-devel mailing list