Skip to content

Commit

Permalink
fs/notify/notification.c: make subsys_initcall function static
Browse files Browse the repository at this point in the history
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Arun Sharma <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
H Hartley Sweeten authored and torvalds committed Mar 23, 2012
1 parent 03ff3ef commit 9710a78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/notify/notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -461,4 +461,3 @@ __init int fsnotify_notification_init(void)
return 0;
}
subsys_initcall(fsnotify_notification_init);

0 comments on commit 9710a78

Please sign in to comment.