diff options
author | Chris Mason | 2008-07-08 20:19:17 +0200 |
---|---|---|
committer | Chris Mason | 2008-09-25 17:04:04 +0200 |
commit | 7d9eb12c8739e7dc80c78c6b3596f912ecd8f941 (patch) | |
tree | 000608285b44920f22e0888753b36299bc762cef /fs/btrfs/ctree.h | |
parent | Btrfs: Fix deadlock while searching for dead roots on mount (diff) | |
download | kernel-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.h | 1 |
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; |