aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 278564178993..7213012c27d5 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -569,6 +569,7 @@ struct btrfs_root *open_ctree(struct super_block *sb)
569 fs_info->extent_root = extent_root; 569 fs_info->extent_root = extent_root;
570 fs_info->sb = sb; 570 fs_info->sb = sb;
571 fs_info->mount_opt = 0; 571 fs_info->mount_opt = 0;
572 fs_info->max_extent = (u64)-1;
572 fs_info->btree_inode = new_inode(sb); 573 fs_info->btree_inode = new_inode(sb);
573 fs_info->btree_inode->i_ino = 1; 574 fs_info->btree_inode->i_ino = 1;
574 fs_info->btree_inode->i_nlink = 1; 575 fs_info->btree_inode->i_nlink = 1;