Btrfs: add tree block level sanity check
authorJosef Bacik <jbacik@fusionio.com>
Tue, 23 Apr 2013 15:30:14 +0000 (11:30 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:55:05 +0000 (15:55 -0400)
With a users corrupted fs I was getting weird behavior and panics and it turns
out it was because one of his tree blocks had a bogus header level.  So add this
to the sanity checks in the endio handler for tree blocks.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c

Simple merge