diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 98fe70193397..6d1ac7d46f81 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -1567,7 +1567,6 @@ int btrfs_init_fs_root(struct btrfs_root *root) | |||
1567 | root->subv_writers = writers; | 1567 | root->subv_writers = writers; |
1568 | 1568 | ||
1569 | btrfs_init_free_ino_ctl(root); | 1569 | btrfs_init_free_ino_ctl(root); |
1570 | mutex_init(&root->fs_commit_mutex); | ||
1571 | spin_lock_init(&root->cache_lock); | 1570 | spin_lock_init(&root->cache_lock); |
1572 | init_waitqueue_head(&root->cache_wait); | 1571 | init_waitqueue_head(&root->cache_wait); |
1573 | 1572 | ||
@@ -2345,7 +2344,7 @@ int open_ctree(struct super_block *sb, | |||
2345 | mutex_init(&fs_info->transaction_kthread_mutex); | 2344 | mutex_init(&fs_info->transaction_kthread_mutex); |
2346 | mutex_init(&fs_info->cleaner_mutex); | 2345 | mutex_init(&fs_info->cleaner_mutex); |
2347 | mutex_init(&fs_info->volume_mutex); | 2346 | mutex_init(&fs_info->volume_mutex); |
2348 | init_rwsem(&fs_info->extent_commit_sem); | 2347 | init_rwsem(&fs_info->commit_root_sem); |
2349 | init_rwsem(&fs_info->cleanup_work_sem); | 2348 | init_rwsem(&fs_info->cleanup_work_sem); |
2350 | init_rwsem(&fs_info->subvol_sem); | 2349 | init_rwsem(&fs_info->subvol_sem); |
2351 | sema_init(&fs_info->uuid_tree_rescan_sem, 1); | 2350 | sema_init(&fs_info->uuid_tree_rescan_sem, 1); |