diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-03-23 15:01:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:31 -0700 |
commit | 9710a78e55fe29fa2d2f1a9cbd1d399797585fd9 (patch) | |
tree | 59970afc4345363e690d57cbb9461c16d3c6e8c3 /fs/notify | |
parent | 03ff3efb64c8a64cb8cdf35e36bead5c78eb3024 (diff) | |
download | lwn-9710a78e55fe29fa2d2f1a9cbd1d399797585fd9.tar.gz lwn-9710a78e55fe29fa2d2f1a9cbd1d399797585fd9.zip |
fs/notify/notification.c: make subsys_initcall function static
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Arun Sharma <asharma@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/notify')
-rw-r--r-- | fs/notify/notification.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/notify/notification.c b/fs/notify/notification.c index ee188158a224..c887b1378f7e 100644 --- a/fs/notify/notification.c +++ b/fs/notify/notification.c @@ -447,7 +447,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); @@ -461,4 +461,3 @@ __init int fsnotify_notification_init(void) return 0; } subsys_initcall(fsnotify_notification_init); - |