aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.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/ctree.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/ctree.c')
-rw-r--r--fs/btrfs/ctree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index c6759fc1004a..bbf9bf374066 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -1251,10 +1251,6 @@ int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root
1251 WARN_ON(p->nodes[0] != NULL); 1251 WARN_ON(p->nodes[0] != NULL);
1252 WARN_ON(cow && root == root->fs_info->extent_root && 1252 WARN_ON(cow && root == root->fs_info->extent_root &&
1253 !mutex_is_locked(&root->fs_info->alloc_mutex)); 1253 !mutex_is_locked(&root->fs_info->alloc_mutex));
1254 WARN_ON(root == root->fs_info->chunk_root &&
1255 !mutex_is_locked(&root->fs_info->chunk_mutex));
1256 WARN_ON(root == root->fs_info->dev_root &&
1257 !mutex_is_locked(&root->fs_info->chunk_mutex));
1258 if (ins_len < 0) 1254 if (ins_len < 0)
1259 lowest_unlock = 2; 1255 lowest_unlock = 2;
1260again: 1256again: