Btrfs: don't add extent 0 to the free space cache v2
authorYan, Zheng <zheng.yan@oracle.com>
Thu, 26 Nov 2009 09:31:11 +0000 (09:31 +0000)
committerChris Mason <chris.mason@oracle.com>
Thu, 17 Dec 2009 17:33:36 +0000 (12:33 -0500)
commit06b2331f8333ec6edf41662757ce8882cc1747d5
tree9b8316a84e2cb5fa5ed4d16cdbfecd965ed7870c
parent86b9f2eca5e0984145e3c7698a7cd6dd65c2a93f
Btrfs: don't add extent 0 to the free space cache v2

If block group 0 is completely free, btrfs_read_block_groups will
add extent [0, BTRFS_SUPER_INFO_OFFSET) to the free space cache.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c