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, 5 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h
index ae39fcfc169a..eef840bca91e 100644
--- a/fs/btrfs/transaction.h
+++ b/fs/btrfs/transaction.h
@@ -73,7 +73,12 @@ int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans,
73int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, 73int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans,
74 struct btrfs_root *root); 74 struct btrfs_root *root);
75 75
76#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
77void btrfs_transaction_cleaner(void *p);
78#else
76void btrfs_transaction_cleaner(struct work_struct *work); 79void btrfs_transaction_cleaner(struct work_struct *work);
80#endif
81
77void btrfs_transaction_flush_work(struct btrfs_root *root); 82void btrfs_transaction_flush_work(struct btrfs_root *root);
78void btrfs_transaction_queue_work(struct btrfs_root *root, int delay); 83void btrfs_transaction_queue_work(struct btrfs_root *root, int delay);
79void btrfs_init_transaction_sys(void); 84void btrfs_init_transaction_sys(void);