Re: [PATCH v2 14/14] btrfs: Enable W=1 checks for btrfs
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-01-20 16:03:21
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-01-20 16:03:21
On 1/20/21 5:25 AM, Nikolay Borisov wrote:
Now that the btrfs' codebase is clean of W=1 warning let's enable those checks unconditionally for the entire fs/btrfs/ and its subdirectories. Signed-off-by: Nikolay Borisov <redacted>
Once this is enabled I get
fs/btrfs/zoned.c: In function ‘btrfs_sb_log_location_bdev’:
fs/btrfs/zoned.c:491:6: warning: variable ‘zone_size’ set but not used
[-Wunused-but-set-variable]
491 | u64 zone_size;
| ^~~~~~~~~
on misc-next. Thanks,
Josef