diff options
| author | Anand Jain <[email protected]> | 2020-06-03 18:10:20 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-07-27 12:55:21 +0200 |
| commit | b5790d51809b3b0b5f0d012fa667b4e6cafd676e (patch) | |
| tree | c5e60a8f366ec521920ae813883677b3b6abd26c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 69b0e093c7859681e8012727d75f639154a7cfb3 (diff) | |
btrfs: use helper btrfs_get_block_group
Use the helper function where it is open coded to increment the
block_group reference count As btrfs_get_block_group() is a one-liner we
could have open-coded it, but its partner function
btrfs_put_block_group() isn't one-liner which does the free part in it.
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions