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 3dea757d4cbb..e32ddff55b0e 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -116,6 +116,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
116 fs_info->sb_buffer = sb_buffer; 116 fs_info->sb_buffer = sb_buffer;
117 fs_info->sb = sb; 117 fs_info->sb = sb;
118 mutex_init(&fs_info->trans_mutex); 118 mutex_init(&fs_info->trans_mutex);
119 mutex_init(&fs_info->fs_mutex);
119 memset(&fs_info->current_insert, 0, sizeof(fs_info->current_insert)); 120 memset(&fs_info->current_insert, 0, sizeof(fs_info->current_insert));
120 memset(&fs_info->last_insert, 0, sizeof(fs_info->last_insert)); 121 memset(&fs_info->last_insert, 0, sizeof(fs_info->last_insert));
121 122