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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;
 }
 
 /*




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux