diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index bb268193d85d..341a8670165f 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -6782,6 +6782,8 @@ struct inode *btrfs_alloc_inode(struct super_block *sb) | |||
6782 | extent_map_tree_init(&ei->extent_tree); | 6782 | extent_map_tree_init(&ei->extent_tree); |
6783 | extent_io_tree_init(&ei->io_tree, &inode->i_data); | 6783 | extent_io_tree_init(&ei->io_tree, &inode->i_data); |
6784 | extent_io_tree_init(&ei->io_failure_tree, &inode->i_data); | 6784 | extent_io_tree_init(&ei->io_failure_tree, &inode->i_data); |
6785 | ei->io_tree.track_uptodate = 1; | ||
6786 | ei->io_failure_tree.track_uptodate = 1; | ||
6785 | mutex_init(&ei->log_mutex); | 6787 | mutex_init(&ei->log_mutex); |
6786 | mutex_init(&ei->delalloc_mutex); | 6788 | mutex_init(&ei->delalloc_mutex); |
6787 | btrfs_ordered_inode_tree_init(&ei->ordered_tree); | 6789 | btrfs_ordered_inode_tree_init(&ei->ordered_tree); |