Btrfs: Fix BUG_ON for fs converted from extN
authorYan, Zheng <zheng.yan@oracle.com>
Mon, 31 May 2010 09:04:46 +0000 (09:04 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Jun 2010 19:48:35 +0000 (15:48 -0400)
commit3bf84a5a834d13e7c5c3e8e5b5c6b26012118dd8
tree7cc6e70cb2cc175163472141b1ca2dfc4c72eddd
parent046f264f6b3b2cf7e5a1769fc92335d8a9316282
Btrfs: Fix BUG_ON for fs converted from extN

Tree blocks can live in data block groups in FS converted from extN.
So it's easy to trigger the BUG_ON.

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