]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: subpage: rename macro variables to avoid shadowing
authorDavid Sterba <dsterba@suse.com>
Mon, 29 Sep 2025 12:41:15 +0000 (14:41 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 20:37:36 +0000 (21:37 +0100)
commit2215e6b4034a4a850b4f10ada09ac9ceac38817f
tree5b8754bd294c3b8bc3be9ff13407ba882b7745fc
parent2346b966c66a7b9cfef948939ae0526bebb4bef7
btrfs: subpage: rename macro variables to avoid shadowing

When compiling with -Wshadow there are warnings in the subpage helper
macros that are used in functions like btrfs_subpage_dump_bitmap() or
btrfs_subpage_clear_and_test_dirty() that also use 'bfs' (for struct
btrfs_folio_state) or blocks_per_folio.

Add '__' to the macro variables and unify naming in all subpage macros.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/subpage.c