diff options
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r-- | fs/btrfs/transaction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h index 910350cd4cf0..11fbdeceb26c 100644 --- a/fs/btrfs/transaction.h +++ b/fs/btrfs/transaction.h | |||
@@ -27,6 +27,7 @@ struct btrfs_transaction { | |||
27 | int in_commit; | 27 | int in_commit; |
28 | int use_count; | 28 | int use_count; |
29 | int commit_done; | 29 | int commit_done; |
30 | int blocked; | ||
30 | struct list_head list; | 31 | struct list_head list; |
31 | struct extent_io_tree dirty_pages; | 32 | struct extent_io_tree dirty_pages; |
32 | unsigned long start_time; | 33 | unsigned long start_time; |
@@ -75,6 +76,8 @@ int btrfs_end_transaction(struct btrfs_trans_handle *trans, | |||
75 | struct btrfs_root *root); | 76 | struct btrfs_root *root); |
76 | struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, | 77 | struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, |
77 | int num_blocks); | 78 | int num_blocks); |
79 | struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root, | ||
80 | int num_blocks); | ||
78 | int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans, | 81 | int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans, |
79 | struct btrfs_root *root); | 82 | struct btrfs_root *root); |
80 | int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, | 83 | int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, |