diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-12-18 16:15:09 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:58 -0400 |
commit | 6da6abae027e2dbc59bca5f4168b0760f25068c7 (patch) | |
tree | a1e9c70c930e8b01baead984b706042067148788 /fs/btrfs/transaction.h | |
parent | c59f8951d48c5eb000926935f3ab063d8181d1ee (diff) |
Btrfs: Back port to 2.6.18-el kernels
Signed-off-by: Chris Mason <chris.mason@oracle.com>
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); |