diff options
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r-- | fs/btrfs/transaction.h | 5 |
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, | |||
73 | int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans, | 73 | int 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) | ||
77 | void btrfs_transaction_cleaner(void *p); | ||
78 | #else | ||
76 | void btrfs_transaction_cleaner(struct work_struct *work); | 79 | void btrfs_transaction_cleaner(struct work_struct *work); |
80 | #endif | ||
81 | |||
77 | void btrfs_transaction_flush_work(struct btrfs_root *root); | 82 | void btrfs_transaction_flush_work(struct btrfs_root *root); |
78 | void btrfs_transaction_queue_work(struct btrfs_root *root, int delay); | 83 | void btrfs_transaction_queue_work(struct btrfs_root *root, int delay); |
79 | void btrfs_init_transaction_sys(void); | 84 | void btrfs_init_transaction_sys(void); |