]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/btrfs/ctree.h
Btrfs: get forced transaction commits via workqueue
[mv-sheeva.git] / fs / btrfs / ctree.h
index 74e6aadf6bb71f18695da7355202bd349dbcd23b..e93ba1a5c812ced98c089a21b0347f9e4c2f6a3e 100644 (file)
@@ -283,6 +283,7 @@ struct btrfs_block_group_cache {
 struct crypto_hash;
 
 struct btrfs_fs_info {
+       spinlock_t hash_lock;
        struct btrfs_root *extent_root;
        struct btrfs_root *tree_root;
        struct btrfs_root *dev_root;
@@ -308,10 +309,11 @@ struct btrfs_fs_info {
        struct mutex trans_mutex;
        struct mutex fs_mutex;
        struct list_head trans_list;
+       struct list_head dead_roots;
        struct crypto_hash *hash_tfm;
        struct delayed_work trans_work;
-       spinlock_t hash_lock;
        int do_barriers;
+       int closing;
 };
 
 /*