aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-02 10:50:19 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-02 10:50:19 -0400
commit2c90e5d658424bc71b111eb5a972240d5d06fe86 (patch)
treef46b830654af0f67ef1691353fe4d79943a05465 /fs/btrfs/transaction.h
parentd6025579531b7ea170ba283b171ff7a6bf7d0e12 (diff)
Btrfs: still corruption hunting
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r--fs/btrfs/transaction.h3
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
14struct btrfs_trans_handle { 15struct 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