diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-05 14:29:12 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-05 14:29:12 -0400 |
commit | d785b7d058b78176083a0f314da1bc114ad2fa9b (patch) | |
tree | 27f4737987dcb9855d994bfd42125053d4e35a7d /disk-io.c | |
parent | b6414c8ee26632d99a3763cd493c4cff8fe8e950 (diff) |
uuids
Diffstat (limited to 'disk-io.c')
-rw-r--r-- | disk-io.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ static int check_tree_block(struct btrfs_root *root, struct btrfs_buffer *buf) if (root->node && btrfs_header_parentid(&buf->node.header) != btrfs_header_parentid(&root->node->node.header)) BUG(); + if (memcmp(root->fs_info->disk_super->fsid, buf->node.header.fsid, + sizeof(buf->node.header.fsid))) + BUG(); return 0; } |