aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
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/*