On Wed, Jun 05, 2024 at 04:51:43PM +0900, Damien Le Moal wrote:
> +static int dm_device_count_zones(struct dm_dev *dev,
> +                              struct dm_device_zone_count *zc)
> +{
> +     int ret;
> +
> +     ret = blkdev_report_zones(dev->bdev, 0, UINT_MAX,
> +                               dm_device_count_zones_cb, zc);

Other than the nitpick that BLK_ALL_ZONES looks better than UINT_MAX
here, looks good.

-Ben


Reply via email to