diff options
author | David Sterba <[email protected]> | 2019-10-23 18:48:11 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2019-11-18 17:51:44 +0100 |
commit | bf38be65f3703d5ef3661c0a2802bc28e76b8f19 (patch) | |
tree | 3b1d7c392be5bde0fadd429c5024f1350de764ec /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 34b127aecd4fe8e6a3903e10f204a7b7ffddca22 (diff) |
btrfs: move block_group_item::used to block group
For unknown reasons, the member 'used' in the block group struct is
stored in the b-tree item and accessed everywhere using the special
accessor helper. Let's unify it and make it a regular member and only
update the item before writing it to the tree.
The item is still being used for flags and chunk_objectid, there's some
duplication until the item is removed in following patches.
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions