summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-10-10 10:39:27 +0800
committerDavid Sterba <dsterba@suse.com>2019-11-18 17:51:50 +0100
commitffb9e0f05fab5f7fe62c5d6964825e59e91be0db (patch)
tree4ebd34e384ad2e9c4eda408daf1a0e02beeb52ec /fs/btrfs/qgroup.c
parentd4e253bbbc2036219807b07f6258027fc443670c (diff)
downloadlinux-ffb9e0f05fab5f7fe62c5d6964825e59e91be0db.tar.bz2
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 <jthumshirn@suse.de> Reviewed-by: Anand Jain <anand.jain@oracle.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 'fs/btrfs/qgroup.c')
0 files changed, 0 insertions, 0 deletions