fs/notify/group.c: make fsnotify_final_destroy_group() static
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 9 Oct 2014 22:24:35 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:45 +0000 (22:25 -0400)
No callers outside this file.

Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/notify/fsnotify.h
fs/notify/group.c

index 85e7d2b431d9014b56fb7e3b00c337f11ea7a57b..9c0898c4cfe1ce771a8a0832adda51c80225ce59 100644 (file)
@@ -23,9 +23,6 @@ extern int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark,
                                      struct fsnotify_group *group, struct vfsmount *mnt,
                                      int allow_dups);
 
-/* final kfree of a group */
-extern void fsnotify_final_destroy_group(struct fsnotify_group *group);
-
 /* vfsmount specific destruction of a mark */
 extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark);
 /* inode specific destruction of a mark */
index ad199598045655105e7ba4db0ed639357bf3fc6f..d16b62cb28544a147183c3780e3a61ffa246c8bb 100644 (file)
@@ -31,7 +31,7 @@
 /*
  * Final freeing of a group
  */
-void fsnotify_final_destroy_group(struct fsnotify_group *group)
+static void fsnotify_final_destroy_group(struct fsnotify_group *group)
 {
        if (group->ops->free_group_priv)
                group->ops->free_group_priv(group);