diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2014-03-05 23:19:50 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fb.com> | 2014-03-10 15:17:20 -0400 |
commit | 6db8914f9763d3f0a7610b497d44f93a4c17e62e (patch) | |
tree | bf266c5830b629ca7a85b7fd1cefbbde57afdc35 /fs/btrfs/async-thread.c | |
parent | 2131bcd38b18167f499f190acf3409dfe5b3c280 (diff) |
btrfs: Cleanup the btrfs_workqueue related function type
The new btrfs_workqueue still use open-coded function defition,
this patch will change them into btrfs_func_t type which is much the
same as kernel workqueue.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/async-thread.c')
-rw-r--r-- | fs/btrfs/async-thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index a709585e2c97..d8c07e5c1f24 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-thread.c | |||
@@ -255,9 +255,9 @@ static void normal_work_helper(struct work_struct *arg) | |||
255 | } | 255 | } |
256 | 256 | ||
257 | void btrfs_init_work(struct btrfs_work *work, | 257 | void btrfs_init_work(struct btrfs_work *work, |
258 | void (*func)(struct btrfs_work *), | 258 | btrfs_func_t func, |
259 | void (*ordered_func)(struct btrfs_work *), | 259 | btrfs_func_t ordered_func, |
260 | void (*ordered_free)(struct btrfs_work *)) | 260 | btrfs_func_t ordered_free) |
261 | { | 261 | { |
262 | work->func = func; | 262 | work->func = func; |
263 | work->ordered_func = ordered_func; | 263 | work->ordered_func = ordered_func; |