aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r--fs/btrfs/transaction.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h
index 4bc328cbb24c..ae39fcfc169a 100644
--- a/fs/btrfs/transaction.h
+++ b/fs/btrfs/transaction.h
@@ -28,7 +28,7 @@ struct btrfs_transaction {
28 int use_count; 28 int use_count;
29 int commit_done; 29 int commit_done;
30 struct list_head list; 30 struct list_head list;
31 struct radix_tree_root dirty_pages; 31 struct extent_map_tree dirty_pages;
32 unsigned long start_time; 32 unsigned long start_time;
33 wait_queue_head_t writer_wait; 33 wait_queue_head_t writer_wait;
34 wait_queue_head_t commit_wait; 34 wait_queue_head_t commit_wait;
@@ -83,5 +83,6 @@ int btrfs_add_dead_root(struct btrfs_root *root, struct btrfs_root *latest,
83int btrfs_defrag_dirty_roots(struct btrfs_fs_info *info); 83int btrfs_defrag_dirty_roots(struct btrfs_fs_info *info);
84int btrfs_defrag_root(struct btrfs_root *root, int cacheonly); 84int btrfs_defrag_root(struct btrfs_root *root, int cacheonly);
85int btrfs_clean_old_snapshots(struct btrfs_root *root); 85int btrfs_clean_old_snapshots(struct btrfs_root *root);
86 86int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
87 struct btrfs_root *root);
87#endif 88#endif