diff options
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r-- | fs/btrfs/transaction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h index 7e6c08a0accd..4f1496ae6f24 100644 --- a/fs/btrfs/transaction.h +++ b/fs/btrfs/transaction.h | |||
@@ -7,15 +7,18 @@ struct btrfs_transaction { | |||
7 | int in_commit; | 7 | int in_commit; |
8 | int use_count; | 8 | int use_count; |
9 | int commit_done; | 9 | int commit_done; |
10 | int magic; | ||
10 | wait_queue_head_t writer_wait; | 11 | wait_queue_head_t writer_wait; |
11 | wait_queue_head_t commit_wait; | 12 | wait_queue_head_t commit_wait; |
12 | }; | 13 | }; |
13 | 14 | ||
14 | struct btrfs_trans_handle { | 15 | struct btrfs_trans_handle { |
16 | int magic; | ||
15 | u64 transid; | 17 | u64 transid; |
16 | unsigned long blocks_reserved; | 18 | unsigned long blocks_reserved; |
17 | unsigned long blocks_used; | 19 | unsigned long blocks_used; |
18 | struct btrfs_transaction *transaction; | 20 | struct btrfs_transaction *transaction; |
21 | int magic2; | ||
19 | }; | 22 | }; |
20 | 23 | ||
21 | 24 | ||