]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: remove duplicate name variable declarations
authorDavid Sterba <dsterba@suse.com>
Mon, 20 May 2024 17:40:26 +0000 (19:40 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:18 +0000 (15:33 +0200)
commit9c5e1fb024df2675eeb6a2f43770687602a0ffdc
tree0b3d6bbef9306402ec2dd2600ceeda0ac4cf7442
parent56b7169f691cd4d015aca8436acd27f37a6b6a62
btrfs: remove duplicate name variable declarations

When running 'make W=2' there are a few reports where a variable of the
same name is declared in a nested block. In all the cases we can use the
one declared in the parent block, no problematic cases were found.

Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/inode.c