btrfs: fix wrong data space statistics
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 5 Jan 2011 10:07:15 +0000 (10:07 +0000)
committerChris Mason <chris.mason@oracle.com>
Sun, 16 Jan 2011 16:30:19 +0000 (11:30 -0500)
commit299a08b1c34f9397797946a0fa215c5fd145c5cf
treebeace30f71e49e4ac6428b33916288695c06539f
parentf580eb0931fbcb6dc3916f094f471671facd1daa
btrfs: fix wrong data space statistics

Josef has implemented mixed data/metadata chunks, we must add those chunks'
space just like data chunks.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/super.c