cfq-iosched: do cleanup
PATCH 1/1 cfq-iosched: do cleanup
return bool for cfq_should_idle
Signed-off-by Shaohua Li <[email protected]>
--- block/cfq-iosched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
block/cfq-iosched.c +2 -2
@@ -1882,10 +1882,10 @@* in their service tree. */ if (service_tree->count ==1 &&cfq_cfqq_sync (cfqq)) -return 1 ; +return true;cfq_log_cfqq (cfqd, cfqq,"Not idling. st->count:%d" , service_tree->count); -return 0 ; +return false; }static void cfq_arm_slice_timer (struct cfq_data *cfqd)