On Wed 30-08-17 12:43:52, Dan Williams wrote: > Add a helper that can replace the following common pattern: > > if (blk_queue_dax(bdev->bd_queue)) > fs_dax_get_by_host(bdev->bd_disk->disk_name); > > This will be used to move dax_device lookup from iomap-operation time to > fs-mount time. > > Cc: Jan Kara <jack@xxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> Looks good to me. You can add: Reviewed-by: Jan Kara <jack@xxxxxxx> Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR