Btrfs: snapshot progress
[linux-2.6-block.git] / fs / btrfs / disk-io.c
index b557bdd1e26a44eff04cec1034e0eeb384413e85..6b097ede80b1329a5f9987620f3ecc8f771e8fef 100644 (file)
@@ -16,10 +16,6 @@ static int check_tree_block(struct btrfs_root *root, struct buffer_head *buf)
        if (buf->b_blocknr != btrfs_header_blocknr(&node->header)) {
                BUG();
        }
-       if (root->node && btrfs_header_parentid(&node->header) !=
-           btrfs_header_parentid(btrfs_buffer_header(root->node))) {
-               BUG();
-       }
        return 0;
 }