summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason2008-07-08 20:19:17 +0200
committerChris Mason2008-09-25 17:04:04 +0200
commit7d9eb12c8739e7dc80c78c6b3596f912ecd8f941 (patch)
tree000608285b44920f22e0888753b36299bc762cef /fs/btrfs/ctree.h
parentBtrfs: Fix deadlock while searching for dead roots on mount (diff)
downloadkernel-qcow2-linux-7d9eb12c8739e7dc80c78c6b3596f912ecd8f941.tar.gz
kernel-qcow2-linux-7d9eb12c8739e7dc80c78c6b3596f912ecd8f941.tar.xz
kernel-qcow2-linux-7d9eb12c8739e7dc80c78c6b3596f912ecd8f941.zip
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.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index a28796482b4a..f3783dbd9b60 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -523,6 +523,7 @@ struct btrfs_fs_info {
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;