On 24/01/2021 17:05, Nikolay Borisov wrote:
> This fixes fs/btrfs/zoned.c:491:6: warning: variable ‘zone_size’ set but not
> used [-Wunused-but-set-variable]
> 491 | u64 zone_size;
>
> Which got introduced in 12659251ca5d ("btrfs: implement log-structured
> superblock for ZONED mode")
>
> Signed-off-by: Nikolay Borisov <[email protected]>
Even with the zoned complete zoned patchset (for-v14) applied
the compiler is correct about this issue, ergo this patch fixes it.
Reviewed-by: Johannes Thumshirn <[email protected]>