diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-03-22 15:59:16 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-03-22 15:59:16 -0400 |
commit | 79154b1b5bcf87903db7ff16a30b360b78d6fe4f (patch) | |
tree | 7c752c350abd28060c5bd7aa364323051aecac90 /fs/btrfs/ctree.h | |
parent | e20d96d64f9cf9288ffecc9ad4714e91c3b97ca8 (diff) |
Btrfs: transaction rework
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 7748eecd9304..4c19a3f12afd 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <linux/fs.h> | 5 | #include <linux/fs.h> |
6 | 6 | ||
7 | struct btrfs_trans_handle; | 7 | struct btrfs_trans_handle; |
8 | struct btrfs_transaction; | ||
8 | 9 | ||
9 | #define BTRFS_MAGIC "_BtRfS_M" | 10 | #define BTRFS_MAGIC "_BtRfS_M" |
10 | 11 | ||
@@ -224,10 +225,11 @@ struct btrfs_fs_info { | |||
224 | u64 last_inode_alloc; | 225 | u64 last_inode_alloc; |
225 | u64 last_inode_alloc_dirid; | 226 | u64 last_inode_alloc_dirid; |
226 | u64 generation; | 227 | u64 generation; |
227 | struct btrfs_trans_handle *running_transaction; | 228 | struct btrfs_transaction *running_transaction; |
228 | struct btrfs_super_block *disk_super; | 229 | struct btrfs_super_block *disk_super; |
229 | struct buffer_head *sb_buffer; | 230 | struct buffer_head *sb_buffer; |
230 | struct super_block *sb; | 231 | struct super_block *sb; |
232 | struct mutex trans_mutex; | ||
231 | }; | 233 | }; |
232 | 234 | ||
233 | /* | 235 | /* |