X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=inline;f=workqueue.h;h=69a85128703395ae01031bddf1806d468b65c290;hb=155f2f027b34321f6f5abe79c09ece8ecca25046;hp=f732b3089d0a47dac49bcaf35e266be70fa9dfa5;hpb=f6496ba7d984b42602d2066837547eeb05b480f0;p=fio.git diff --git a/workqueue.h b/workqueue.h index f732b308..69a85128 100644 --- a/workqueue.h +++ b/workqueue.h @@ -19,7 +19,7 @@ struct submit_worker { void *private; }; -typedef void (workqueue_work_fn)(struct submit_worker *, struct workqueue_work *); +typedef int (workqueue_work_fn)(struct submit_worker *, struct workqueue_work *); typedef bool (workqueue_pre_sleep_flush_fn)(struct submit_worker *); typedef void (workqueue_pre_sleep_fn)(struct submit_worker *); typedef int (workqueue_alloc_worker_fn)(struct submit_worker *);