aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-23 15:56:19 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-23 15:56:19 -0400
commit7f5c15160e1436a53d01f9190db11c2a3a4d788a (patch)
treeae9894ab743aca4ff4c1f50ada5a5ed665a88c21 /fs/btrfs/disk-io.c
parentdf2ce34c8801af8e00c7f82435fcb1e4b45a2759 (diff)
Add generation number to btrfs_header, readdir fixes, hash collision fixes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 2f1eb4ae4e1d..3dea757d4cbb 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -11,11 +11,7 @@ static int check_tree_block(struct btrfs_root *root, struct buffer_head *buf)
11 BUG(); 11 BUG();
12 if (root->node && btrfs_header_parentid(&node->header) != 12 if (root->node && btrfs_header_parentid(&node->header) !=
13 btrfs_header_parentid(btrfs_buffer_header(root->node))) { 13 btrfs_header_parentid(btrfs_buffer_header(root->node))) {
14 printk("block %Lu parentids don't match buf %Lu, root %Lu\n", 14 BUG();
15 buf->b_blocknr,
16 btrfs_header_parentid(&node->header),
17 btrfs_header_parentid(btrfs_buffer_header(root->node)));
18 WARN_ON(1);
19 } 15 }
20 return 0; 16 return 0;
21} 17}