]> git.hungrycats.org Git - linux/commitdiff
[PATCH] export kblockd_schedule_work()
authorJens Axboe <axboe@suse.de>
Tue, 10 Aug 2004 02:57:07 +0000 (19:57 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 10 Aug 2004 02:57:07 +0000 (19:57 -0700)
This is used by some IBM vscsi driver. It was using schedule_work(), but
should be using the block layer queue.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/ll_rw_blk.c

index 4d10ac66001a4d5b767d4344d97320416937ca46..8dc40d5d86daa819f2fe4e702cc54e3216017f0d 100644 (file)
@@ -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);