Btrfs: do not count in readonly bytes
authorLiu Bo <liubo2009@cn.fujitsu.com>
Fri, 6 Jul 2012 09:31:36 +0000 (03:31 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 20:28:03 +0000 (16:28 -0400)
commitf6175efab1e024554a104cca1f86134ef7ce06bc
treedcd739bffd22312c6f3b7f3032beaf8f13eab8e6
parent799ffc3c31de57d10a4b9abcfbfeea8771acc976
Btrfs: do not count in readonly bytes

If a block group is ro, do not count its entries in when we dump space info.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/free-space-cache.c