summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorByongho Lee <bhlee.kernel@gmail.com>2016-01-04 10:01:34 +0900
committerDavid Sterba <dsterba@suse.com>2016-01-12 15:01:05 +0100
commite3bd2d145f3821e5c57d56931e78efca22578a97 (patch)
tree3d65a2a316465a409cdacf3a84860b8e1657e7a3 /volumes.c
parent97f72e7507f79dfdb70d20e839f7d8e2070dcb9d (diff)
btrfs-progs: fix using on-disk structure to store in memory data
In 'qgroup_count' structure 'diskinfo' and 'info' are used to store only in memory data but its types are for on-disk structure as a result sparse warns it (different base types). So fix it by adding new structure 'qgroup_info' to store in memory data and replace on-disk structure 'btrfs_qgroup_info_item' by 'qgroup_info'. In addition in alloc_cnt() 'generation' is set but not used after that so remove the relevant code. Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'volumes.c')
0 files changed, 0 insertions, 0 deletions