On 04/04/18 01:54, Damien Le Moal wrote:
  static int sd_zbc_check_zone_size(struct scsi_disk *sdkp)
  {
+       u64 sdkp_zone_blocks = sdkp->zone_blocks;


Shouldn't this variable be initialized to zero such that zone size changes are accepted even if the SAME field in the REPORT ZONES response is zero?

Thanks,

Bart.

Reply via email to