* [PATCH] trivial patch to kcopyd.c
@ 2004-04-28 1:44 Dave Olien
0 siblings, 0 replies; only message in thread
From: Dave Olien @ 2004-04-28 1:44 UTC (permalink / raw)
To: thornber; +Cc: dm-devel, linux-kernel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-28 1:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28 1:44 [PATCH] trivial patch to kcopyd.c Dave Olien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox