]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:19:58 +0000 (13:19 -0700)
commit755885f6c05c81b7260585f11d69db4dfe910b8a
treedfc00eac8ad7edd84a49fca5c197b9a75fa54bb6
parentfeeeea7814620242d12186c91f877b883d0cf13f
Btrfs: don't add extent 0 to the free space cache v2

commit 06b2331f8333ec6edf41662757ce8882cc1747d5 upstream.

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>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/btrfs/extent-tree.c