diff options
author | Qu Wenruo <wqu@suse.com> | 2020-05-05 07:58:21 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-05-25 11:25:31 +0200 |
commit | 7357623a7f4beb4ac76005f8fac9fc0230f9a67e (patch) | |
tree | d25d3f6499e86d1a0c5dbd6ac555f5b15ed10da3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9afc66498a0b5f76928f9823b58c55c5dfb06ae5 (diff) |
btrfs: block-group: refactor how we delete one block group item
When deleting a block group item, it's pretty straight forward, just
delete the item pointed by the key. However it will not be that
straight-forward for incoming skinny block group item.
So refactor the block group item deletion into a new function,
remove_block_group_item(), also to make the already lengthy
btrfs_remove_block_group() a little shorter.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@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