From: Jens Axboe Date: Mon, 18 Apr 2011 09:36:39 +0000 (+0200) Subject: block: blk_delay_queue() should use kblockd workqueue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4521cc4ed5173f92714f6999a69910c3385fed68;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git block: blk_delay_queue() should use kblockd workqueue Reported-by: Christoph Hellwig Signed-off-by: Jens Axboe --- diff --git a/block/blk-core.c b/block/blk-core.c index 5e413933bc3a..e2bacfa46cc3 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -220,7 +220,8 @@ static void blk_delay_work(struct work_struct *work) */ void blk_delay_queue(struct request_queue *q, unsigned long msecs) { - schedule_delayed_work(&q->delay_work, msecs_to_jiffies(msecs)); + queue_delayed_work(kblockd_workqueue, &q->delay_work, + msecs_to_jiffies(msecs)); } EXPORT_SYMBOL(blk_delay_queue);