projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6660837
)
workqueue: bool
author
Jens Axboe
<axboe@fb.com>
Tue, 1 Dec 2015 16:11:47 +0000
(09:11 -0700)
committer
Jens Axboe
<axboe@fb.com>
Tue, 1 Dec 2015 16:11:47 +0000
(09:11 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
workqueue.c
patch
|
blob
|
blame
|
history
diff --git
a/workqueue.c
b/workqueue.c
index 7a69be21803656a10326c1b525a58502289ee39c..344237538113d8fa01c3707eae156c72869b0d11 100644
(file)
--- a/
workqueue.c
+++ b/
workqueue.c
@@
-79,7
+79,7
@@
static struct submit_worker *get_submit_worker(struct workqueue *wq)
return sw;
}
-static
int
all_sw_idle(struct workqueue *wq)
+static
bool
all_sw_idle(struct workqueue *wq)
{
int i;
@@
-87,10
+87,10
@@
static int all_sw_idle(struct workqueue *wq)
struct submit_worker *sw = &wq->workers[i];
if (!(sw->flags & SW_F_IDLE))
- return
0
;
+ return
false
;
}
- return
1
;
+ return
true
;
}
/*