Btrfs: Fix cache_block_group to catch holes at the start of the group
authorYan <yanzheng@21cn.com>
Fri, 14 Sep 2007 20:15:28 +0000 (16:15 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Fri, 14 Sep 2007 20:15:28 +0000 (16:15 -0400)
commit7d7d6068bee9d8004ea7cc8a2ebda2c99a57caec
tree399cf89116a0110d74ea4c26562bd7aef380734a
parent6af858b24c0c4e91ce0b40b5dd5fdfc1fe2dda70
Btrfs: Fix cache_block_group to catch holes at the start of the group

Cache block group was overly complex and missed free blocks at the very start
of the group.  This patch simplifies things significantly.

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