commit | 7d9eb12c8739e7dc80c78c6b3596f912ecd8f941 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Jul 08 14:19:17 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:04 2008 -0400 |
tree | 000608285b44920f22e0888753b36299bc762cef | |
parent | a7a16fd772620605c76e8ac8bdbc8ccc9e3df1a0 [diff] [blame] |
Btrfs: Add locking around volume management (device add/remove/balance) Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index a287964..f3783db 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h
@@ -523,6 +523,7 @@ struct mutex alloc_mutex; struct mutex chunk_mutex; struct mutex drop_mutex; + struct mutex volume_mutex; struct list_head trans_list; struct list_head hashers; struct list_head dead_roots;