From: Dave Olien <dmo@osdl.org>
To: thornber@redhat.com
Cc: dm-devel@redhat.com, linux-kernel@vger.kernel.org
Subject: [PATCH] trivial patch to kcopyd.c
Date: Tue, 27 Apr 2004 18:44:25 -0700 [thread overview]
Message-ID: <20040428014425.GA19475@osdl.org> (raw)
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);
reply other threads:[~2004-04-28 1:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040428014425.GA19475@osdl.org \
--to=dmo@osdl.org \
--cc=dm-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thornber@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.