summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-04-20 11:28:47 +0100
committerDavid Sterba <dsterba@suse.com>2026-06-08 15:53:30 +0200
commit2d1e969b44f56b895b5df3ee3e4c8eb35c4916ac (patch)
tree95339a33c28cbbff942244f2b8c6a075e7910d91 /tools/perf/scripts/python/bin/stackcollapse-report
parent18d32b0013efba19f7ad3e5b08d7aee813d604a6 (diff)
btrfs: use min_size variable to setup block rsv in btrfs_replace_file_extents()
There's no need to calculate again the size for the temporary block reserve in btrfs_replace_file_extents() - we have already calculated it and stored it in the 'min_size' variable. So use the variable to make it more clear and also make the variable const since it's not supposed to change during the whole function. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions