aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-10 10:23:19 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:01 -0400
commit85d824c4a407ba8dbd897f4e05bbe21bf24cc071 (patch)
tree2d97042c2d63220e5c0f99f9bb33f69db0224213 /fs/btrfs/ctree.c
parent7e38326f5b125288a2baea1d815c500502ab9fc0 (diff)
Btrfs: Disable extra debugging checks on tree blocks
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index ff4e9c6859d1..e8bf6c221e4e 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -570,6 +570,7 @@ static int noinline check_block(struct btrfs_root *root,
570 struct btrfs_path *path, int level) 570 struct btrfs_path *path, int level)
571{ 571{
572 u64 found_start; 572 u64 found_start;
573 return 0;
573 if (btrfs_header_level(path->nodes[level]) != level) 574 if (btrfs_header_level(path->nodes[level]) != level)
574 printk("warning: bad level %Lu wanted %d found %d\n", 575 printk("warning: bad level %Lu wanted %d found %d\n",
575 path->nodes[level]->start, level, 576 path->nodes[level]->start, level,