mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Add generation number to btrfs_header, readdir fixes, hash collision fixes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
df2ce34c88
commit
7f5c15160e
5 changed files with 32 additions and 14 deletions
|
@ -11,11 +11,7 @@ static int check_tree_block(struct btrfs_root *root, struct buffer_head *buf)
|
|||
BUG();
|
||||
if (root->node && btrfs_header_parentid(&node->header) !=
|
||||
btrfs_header_parentid(btrfs_buffer_header(root->node))) {
|
||||
printk("block %Lu parentids don't match buf %Lu, root %Lu\n",
|
||||
buf->b_blocknr,
|
||||
btrfs_header_parentid(&node->header),
|
||||
btrfs_header_parentid(btrfs_buffer_header(root->node)));
|
||||
WARN_ON(1);
|
||||
BUG();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue