diff options
author | 2025-04-22 15:19:12 +0100 | |
---|---|---|
committer | 2025-05-15 14:30:52 +0200 | |
commit | 93ef6c232a1a9343469672dbd9761117ba9c5bd2 (patch) | |
tree | 9d0f61ea220b229cd75cf1a32056e4f40b1b19ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: don't BUG_ON() when unpinning extents during transaction commit (diff) | |
download | linux-rng-93ef6c232a1a9343469672dbd9761117ba9c5bd2.tar.xz linux-rng-93ef6c232a1a9343469672dbd9761117ba9c5bd2.zip |
btrfs: remove variable to track trimmed bytes at btrfs_finish_extent_commit()
We don't need to keep track of discarded (trimmed) bytes at
btrfs_finish_extent_commit() but we are declaring a local variable for
that and passing a reference to the btrfs_discard_extent() calls when we
are processing delete block groups. So instead pass NULL to
btrfs_discard_extent() and remove that variable.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions