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@xxxxxx> > Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Reviewed-by: Jan Kara <jack@xxxxxxx> > Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx> Acked-by: Tejun Heo <tj@xxxxxxxxxx> -- tejun