aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-07-08 14:19:17 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:04 -0400
commit7d9eb12c8739e7dc80c78c6b3596f912ecd8f941 (patch)
tree000608285b44920f22e0888753b36299bc762cef /fs/btrfs/disk-io.c
parenta7a16fd772620605c76e8ac8bdbc8ccc9e3df1a0 (diff)
Btrfs: Add locking around volume management (device add/remove/balance)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
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 4cdc0b6a2672..8f4c40033e92 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1287,6 +1287,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
1287 mutex_init(&fs_info->chunk_mutex); 1287 mutex_init(&fs_info->chunk_mutex);
1288 mutex_init(&fs_info->transaction_kthread_mutex); 1288 mutex_init(&fs_info->transaction_kthread_mutex);
1289 mutex_init(&fs_info->cleaner_mutex); 1289 mutex_init(&fs_info->cleaner_mutex);
1290 mutex_init(&fs_info->volume_mutex);
1290 1291
1291#if 0 1292#if 0
1292 ret = add_hasher(fs_info, "crc32c"); 1293 ret = add_hasher(fs_info, "crc32c");