OSDN Git Service

Btrfs: Disable extra debugging checks on tree blocks
authorChris Mason <chris.mason@oracle.com>
Thu, 10 Apr 2008 14:23:19 +0000 (10:23 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:01 +0000 (11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c

index ff4e9c6..e8bf6c2 100644 (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,