From: H Hartley Sweeten <hartleys@visionengravers.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] fs/notify/notification.c: make subsys_initcall static
Date: Thu, 14 Jan 2010 19:56:35 -0700 [thread overview]
Message-ID: <201001141956.36042.hartleys@visionengravers.com> (raw)
fs/notify/notification.c: make subsys_initcall static
The function fsnotify_notification_init is a subsys_initcall
and does not need to be exported. Make the function
static.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
---
diff --git a/fs/notify/notification.c b/fs/notify/notification.c
index b8bf53b..7f9a085 100644
--- a/fs/notify/notification.c
+++ b/fs/notify/notification.c
@@ -407,7 +407,7 @@ struct fsnotify_event *fsnotify_create_event(struct inode *to_tell, __u32 mask,
return event;
}
-__init int fsnotify_notification_init(void)
+static __init int fsnotify_notification_init(void)
{
fsnotify_event_cachep = KMEM_CACHE(fsnotify_event, SLAB_PANIC);
fsnotify_event_holder_cachep = KMEM_CACHE(fsnotify_event_holder, SLAB_PANIC);
next reply other threads:[~2010-01-15 2:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-15 2:56 H Hartley Sweeten [this message]
2011-01-18 21:17 H Hartley Sweeten
2011-01-19 20:46 ` Eric Paris
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=201001141956.36042.hartleys@visionengravers.com \
--to=hartleys@visionengravers.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®