Btrfs: balance_level checks !child after access
authorJeff Mahoney <jeffm@suse.com>
Thu, 12 Feb 2009 15:06:15 +0000 (10:06 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 12 Feb 2009 15:06:15 +0000 (10:06 -0500)
commit7951f3cefbd711f4429a0cd014aa83a844c399a0
tree7eec0bc3b933d71f99cad5379ef15bf1e084a572
parentb335b0034e252e79ec2e9c6697f5d663c4627bec
Btrfs: balance_level checks !child after access

The BUG_ON() is in the wrong spot.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c