diff options
author | Jeff Mahoney <jeffm@suse.com> | 2017-02-16 00:28:32 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 14:03:56 +0300 |
commit | 21e75ffe3cd2c99ca4ea5ecb25dcbeb6a8024c30 (patch) | |
tree | d42f1ab5c842f8b0e2955e6ef9ead2af690c20ff /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 77ab86bf1c64ab282f2230521c7d4d7f69ea3a3f (diff) | |
download | linux-21e75ffe3cd2c99ca4ea5ecb25dcbeb6a8024c30.tar.xz |
btrfs: btrfs_truncate_free_space_cache always allocates path
btrfs_truncate_free_space_cache always allocates a btrfs_path structure
but only uses it when the caller passes a block group. Let's move the
allocation and free into the conditional.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions