aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2019-10-10 10:39:27 +0800
committerDavid Sterba <[email protected]>2019-11-18 17:51:50 +0100
commitffb9e0f05fab5f7fe62c5d6964825e59e91be0db (patch)
tree4ebd34e384ad2e9c4eda408daf1a0e02beeb52ec /scripts/gdb/linux/utils.py
parentd4e253bbbc2036219807b07f6258027fc443670c (diff)
btrfs: block-group: Refactor btrfs_read_block_groups()
Refactor the work inside the loop of btrfs_read_block_groups() into one separate function, read_one_block_group(). This allows read_one_block_group to be reused for later BG_TREE feature. The refactor does the following extra fix: - Use btrfs_fs_incompat() to replace open-coded feature check Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions