btrfs: fix deadlock with concurrent chunk allocations involving system chunks
[sfrench/cifs-2.6.git] / fs / btrfs / transaction.h
index 07d76029f598e0f2826fe5c09e637ddb34eb1ce8..a18d67796b544b64613ddb3267c75a19001d5b59 100644 (file)
@@ -96,13 +96,6 @@ struct btrfs_transaction {
 
        spinlock_t releasing_ebs_lock;
        struct list_head releasing_ebs;
-
-       /*
-        * The number of bytes currently reserved, by all transaction handles
-        * attached to this transaction, for metadata extents of the chunk tree.
-        */
-       atomic64_t chunk_bytes_reserved;
-       wait_queue_head_t chunk_reserve_wait;
 };
 
 #define __TRANS_FREEZABLE      (1U << 0)