Btrfs: snapshot progress

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-04-10 09:27:04 -04:00
committed by David Woodhouse
parent 0f7d52f443
commit c5739bba52
7 changed files with 183 additions and 12 deletions

View 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;
}