Commit 2cbbd9f3 authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds

[PATCH] export kblockd_schedule_work()

This is used by some IBM vscsi driver. It was using schedule_work(), but
should be using the block layer queue.
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3dc527ec
......@@ -2867,6 +2867,8 @@ int kblockd_schedule_work(struct work_struct *work)
return queue_work(kblockd_workqueue, work);
}
EXPORT_SYMBOL(kblockd_schedule_work);
void kblockd_flush(void)
{
flush_workqueue(kblockd_workqueue);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment