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

[dm-devel] [PATCH] trivial patch to kcopyd.c



this adds __init to jobs_init(), and __exit to kcopyd_exit().


diff -ur linux-2.6.6-rc2-udm1-original/drivers/md/kcopyd.c linux-2.6.6-rc2-udm1-patched/drivers/md/kcopyd.c
--- linux-2.6.6-rc2-udm1-original/drivers/md/kcopyd.c	2004-04-27 18:37:27.000000000 -0700
+++ linux-2.6.6-rc2-udm1-patched/drivers/md/kcopyd.c	2004-04-27 18:42:45.000000000 -0700
@@ -218,7 +218,7 @@
 static LIST_HEAD(_io_jobs);
 static LIST_HEAD(_pages_jobs);
 
-static int jobs_init(void)
+static int __init jobs_init(void)
 {
 	INIT_LIST_HEAD(&_complete_jobs);
 	INIT_LIST_HEAD(&_io_jobs);
@@ -655,7 +655,7 @@
 	return 0;
 }
 
-void kcopyd_exit(void)
+void __exit kcopyd_exit(void)
 {
 	jobs_exit();
 	destroy_workqueue(_kcopyd_wq);

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