Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abbeb88d authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Jens Axboe
Browse files

blk_sync_queue() should cancel request_queue->unplug_work



blk_sync_queue() cancels the timer, but forgets to cancel the work.

Signed-off-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 4310864b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1738,6 +1738,7 @@ EXPORT_SYMBOL(blk_stop_queue);
void blk_sync_queue(struct request_queue *q)
{
	del_timer_sync(&q->unplug_timer);
	kblockd_flush_work(&q->unplug_work);
}
EXPORT_SYMBOL(blk_sync_queue);