[dm-devel] [PATCH v4 05/11] dm: cleanup device_area_is_invalid()

Christoph Hellwig hch at infradead.org
Tue May 25 08:13:40 UTC 2021


On Tue, May 25, 2021 at 11:25:33AM +0900, Damien Le Moal wrote:
> In device_area_is_invalid(), use bdev_is_zoned() instead of open
> coding the test on the zoned model returned by bdev_zoned_model().
> 
> Signed-off-by: Damien Le Moal <damien.lemoal at wdc.com>
> Reviewed-by: Johannes Thumshirn <johannes.thumshirn at wdc.com>
> Reviewed-by: Hannes Reinecke <hare at suse.de>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the dm-devel mailing list