diff options
| author | 2025-09-26 11:47:30 +0200 | |
|---|---|---|
| committer | 2025-11-24 21:37:36 +0100 | |
| commit | aebe2bb0b861795cd832473b7257c6cc1cd086d0 (patch) | |
| tree | 5c928ad27668fc1c8fd481b156752a4f4e6c7387 /scripts/Makefile.thinlto | |
| parent | btrfs: print-tree: use string format for key names (diff) | |
btrfs: fix trivial -Wshadow warnings
When compiling with -Wshadow (also in 'make W=2' build) there are
several reports of shadowed variables that seem to be harmless:
- btrfs_do_encoded_write() - we can reuse 'ordered', there's no previous
value that would need to be preserved
- scrub_write_endio() - we need a standalone 'i' for bio iteration
- scrub_stripe() - duplicate ret2 for errors that must not overwrite 'ret'
- btrfs_subpage_set_writeback() - 'flags' is used for another irqsave lock
but is not overwritten when reused for xarray
due to scoping, but for clarity let's rename it
- process_dir_items_leaf() - duplicate 'ret', used only for immediate checks
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
