aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-03-02 12:29:25 +0200
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:52 +0100
commit11c67b1a40b0a4a7c712103508a63267c7ecd4b8 (patch)
treed2afc25c05903f7f106ac941d106b03ec333f600 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: fix btrfs_calc_reclaim_metadata_size calculation (diff)
downloadlinux-dev-11c67b1a40b0a4a7c712103508a63267c7ecd4b8.tar.xz
linux-dev-11c67b1a40b0a4a7c712103508a63267c7ecd4b8.zip
btrfs: Rename __btrfs_alloc_chunk to btrfs_alloc_chunk
Having btrfs_alloc_chunk doesn't bring any value since it encapsulates a lockdep assert and a call to find_next_chunk. Simply rename the internal __btrfs_alloc_chunk function to the public one and remove it's 2nd parameter as all callers always pass the return value of find_next_chunk. Finally, migrate the call to lockdep_assert_held so as to not lose the check. Signed-off-by: Nikolay Borisov <nborisov@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