On 20/07/2020 08:13, Christoph Hellwig wrote:
>  /*
>   * Zoned block device models (zoned limit).
> + *
> + * Note: This needs to be ordered from the least to the most severe
> + * restrictions for the inheritance in blk_stack_limits() to work.
>   */
>  enum blk_zoned_model {
> -     BLK_ZONED_NONE, /* Regular block device */
> -     BLK_ZONED_HA,   /* Host-aware zoned block device */
> -     BLK_ZONED_HM,   /* Host-managed zoned block device */
> +     BLK_ZONED_NONE = 0,     /* Regular block device */

The initialization to 0 for the first value is not needed.

Apart from that,
Reviewed-by: Johannes Thumshirn <johannes.thumsh...@wdc.com>



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to