Btrfs: Add mount -o nodatasum to turn of file data checksumming
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
e9906a9849
commit
b6cda9bcb4
4 changed files with 34 additions and 9 deletions
|
|
@ -568,6 +568,7 @@ struct btrfs_root *open_ctree(struct super_block *sb)
|
|||
fs_info->tree_root = tree_root;
|
||||
fs_info->extent_root = extent_root;
|
||||
fs_info->sb = sb;
|
||||
fs_info->mount_opt = 0;
|
||||
fs_info->btree_inode = new_inode(sb);
|
||||
fs_info->btree_inode->i_ino = 1;
|
||||
fs_info->btree_inode->i_nlink = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue