]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: use for-local variables that shadow function variables
authorDavid Sterba <dsterba@suse.com>
Mon, 20 May 2024 17:46:44 +0000 (19:46 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:18 +0000 (15:33 +0200)
commitd2715d1db455e5e1099c48408aeae15551b67e02
tree1f2b6c77f9f82be9126fffa8186cee861cc2cde9
parent91629e6dea437c6e7f01431e423a90ed1bab5db3
btrfs: use for-local variables that shadow function variables

We've started to use for-loop local variables and in a few places this
shadows a function variable. Convert a few cases reported by 'make W=2'.
If applicable also change the style to post-increment, that's the
preferred one.

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/qgroup.c
fs/btrfs/volumes.c
fs/btrfs/zoned.c