aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2022-03-23 16:19:27 +0000
committerDavid Sterba <dsterba@suse.com>2022-05-16 17:03:10 +0200
commitc1a548db25c3bafed0b8519cf2f41c6e44bc5dc4 (patch)
treeb84c7ffc4defe57983d2dfeb4bfb67e6db2b8800 /tools/perf/scripts/python
parentbtrfs: stop allocating a path when checking if cross reference exists (diff)
downloadlinux-c1a548db25c3bafed0b8519cf2f41c6e44bc5dc4.tar.gz
linux-c1a548db25c3bafed0b8519cf2f41c6e44bc5dc4.zip
btrfs: free path at can_nocow_extent() before checking for checksum items
When we look for checksum items, through csum_exist_in_range(), at can_nocow_extent(), we no longer need the path that we have previously allocated. Through csum_exist_in_range() -> btrfs_lookup_csums_range(), we also end up allocating a path, so we are adding unnecessary extra memory usage. So free the path before calling csum_exist_in_range(). 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')
0 files changed, 0 insertions, 0 deletions