Btrfs: Disable extra debugging checks on tree blocks

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason 2008-04-10 10:23:19 -04:00
parent 7e38326f5b
commit 85d824c4a4
1 changed files with 1 additions and 0 deletions

View File

@ -570,6 +570,7 @@ static int noinline check_block(struct btrfs_root *root,
struct btrfs_path *path, int level)
{
u64 found_start;
return 0;
if (btrfs_header_level(path->nodes[level]) != level)
printk("warning: bad level %Lu wanted %d found %d\n",
path->nodes[level]->start, level,