btrfs-progs: mkfs: fix allocation information output of block group types
authorWang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
Fri, 1 Jul 2016 05:26:25 +0000 (13:26 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Jul 2016 12:01:04 +0000 (14:01 +0200)
commitbf5f9c72afb188f8ac9e9ce36752c57d8ff7f630
tree94c8f0370075e88e1cf1b465784960046273c656
parent52fda816e88b2b521c2eaa8e416176d3a8d7a6fa
btrfs-progs: mkfs: fix allocation information output of block group types

When cleanup_temp_chunks() removes block groups, it forgot to update
mkfs_allocation accordingly, fix this.

Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
[ minor adjustments ]
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs.c