summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason2007-03-22 20:59:16 +0100
committerDavid Woodhouse2007-03-22 20:59:16 +0100
commit79154b1b5bcf87903db7ff16a30b360b78d6fe4f (patch)
tree7c752c350abd28060c5bd7aa364323051aecac90 /fs/btrfs/ctree.h
parentMountable btrfs, with readdir (diff)
downloadkernel-qcow2-linux-79154b1b5bcf87903db7ff16a30b360b78d6fe4f.tar.gz
kernel-qcow2-linux-79154b1b5bcf87903db7ff16a30b360b78d6fe4f.tar.xz
kernel-qcow2-linux-79154b1b5bcf87903db7ff16a30b360b78d6fe4f.zip
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 @@
#include <linux/fs.h>
struct btrfs_trans_handle;
+struct btrfs_transaction;
#define BTRFS_MAGIC "_BtRfS_M"
@@ -224,10 +225,11 @@ struct btrfs_fs_info {
u64 last_inode_alloc;
u64 last_inode_alloc_dirid;
u64 generation;
- struct btrfs_trans_handle *running_transaction;
+ struct btrfs_transaction *running_transaction;
struct btrfs_super_block *disk_super;
struct buffer_head *sb_buffer;
struct super_block *sb;
+ struct mutex trans_mutex;
};
/*