[dm-devel] [PATCH] 2.6.0-test10-udm1: kcopyd.c

Kevin Corry kevincorry at sbcglobal.net
Wed Dec 3 07:33:02 UTC 2003


Update do_work to the new dm_daemon thread prototype.

--- a/drivers/md/kcopyd.c	9 Oct 2003 16:47:44 -0000
+++ b/drivers/md/kcopyd.c	30 Nov 2003 16:25:31 -0000
@@ -398,7 +398,7 @@
 /*
  * kcopyd does this every time it's woken up.
  */
-static void do_work(void)
+static jiffy_t do_work(void)
 {
 	/*
 	 * The order that these are called is *very* important.
@@ -412,6 +412,8 @@
 	process_jobs(&_io_jobs, run_io_job);
 
 	blk_run_queues();
+
+	return 0;
 }
 
 /*





More information about the dm-devel mailing list