summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-85d824c4a407ba8dbd897f4e05bbe21bf24cc071.zip
op-kernel-dev-85d824c4a407ba8dbd897f4e05bbe21bf24cc071.tar.gz
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 ff4e9c6..e8bf6c2 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -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,
OpenPOWER on IntegriCloud