diff options
author | Qu Wenruo <wqu@suse.com> | 2019-10-10 04:39:27 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 17:51:50 +0100 |
commit | ffb9e0f05fab5f7fe62c5d6964825e59e91be0db (patch) | |
tree | 4ebd34e384ad2e9c4eda408daf1a0e02beeb52ec /fs/nls/nls_koi8-u.c | |
parent | btrfs: document extent buffer locking (diff) | |
download | linux-ffb9e0f05fab5f7fe62c5d6964825e59e91be0db.tar.xz linux-ffb9e0f05fab5f7fe62c5d6964825e59e91be0db.zip |
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/nls/nls_koi8-u.c')
0 files changed, 0 insertions, 0 deletions