Btrfs: transaction rework

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-03-22 15:59:16 -04:00
committed by David Woodhouse
parent e20d96d64f
commit 79154b1b5b
7 changed files with 235 additions and 146 deletions

View File

@ -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;
};
/*