Commit 85d824c4 authored by Chris Mason's avatar Chris Mason

Btrfs: Disable extra debugging checks on tree blocks

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 7e38326f
...@@ -570,6 +570,7 @@ static int noinline check_block(struct btrfs_root *root, ...@@ -570,6 +570,7 @@ static int noinline check_block(struct btrfs_root *root,
struct btrfs_path *path, int level) struct btrfs_path *path, int level)
{ {
u64 found_start; u64 found_start;
return 0;
if (btrfs_header_level(path->nodes[level]) != level) if (btrfs_header_level(path->nodes[level]) != level)
printk("warning: bad level %Lu wanted %d found %d\n", printk("warning: bad level %Lu wanted %d found %d\n",
path->nodes[level]->start, level, path->nodes[level]->start, level,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment