btrfs: enable W=1 checks for btrfs
authorNikolay Borisov <nborisov@suse.com>
Fri, 22 Jan 2021 09:58:05 +0000 (11:58 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 21:58:55 +0000 (22:58 +0100)
commite9aa7c285d20a69ce1fb940ec846686780af9e56
treed9f0085bfd90fb5edbc5f9417d2e7ff89e0c0bac
parent71c36788b9253f086d09763b98804ed473e12a3b
btrfs: enable W=1 checks for btrfs

Now that the btrfs' codebase is clean of almost all W=1 warnings let's
enable those checks unconditionally for the entire fs/btrfs/ and its
subdirectories to catch potential errors during development.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add some comments ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/Makefile