aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-22 15:59:16 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-22 15:59:16 -0400
commit79154b1b5bcf87903db7ff16a30b360b78d6fe4f (patch)
tree7c752c350abd28060c5bd7aa364323051aecac90 /fs/btrfs/ctree.h
parente20d96d64f9cf9288ffecc9ad4714e91c3b97ca8 (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.h4
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
7struct btrfs_trans_handle; 7struct btrfs_trans_handle;
8struct 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/*