Btrfs: sha256 csums on metadata

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-03-28 19:44:27 -04:00
committed by David Woodhouse
parent d98237b3ed
commit 87cbda5c1f
3 changed files with 67 additions and 7 deletions

View File

@@ -473,13 +473,13 @@ static int btrfs_fill_super(struct super_block * sb, void * data, int silent)
}
disk_super = (struct btrfs_super_block *)bh->b_data;
root = open_ctree(sb, bh, disk_super);
sb->s_fs_info = root;
disk_super = root->fs_info->disk_super;
if (!root) {
printk("btrfs: open_ctree failed\n");
return -EIO;
}
sb->s_fs_info = root;
disk_super = root->fs_info->disk_super;
printk("read in super total blocks %Lu root %Lu\n",
btrfs_super_total_blocks(disk_super),
btrfs_super_root_dir(disk_super));