aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-10-09 15:24:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-09 22:25:45 -0400
commitcafbaae8afdb1e6cf9f4715aea2c897cf407ddfd (patch)
tree1d7a04186bd00102f32ef4909380a167e63ba4bf /fs/notify
parentcris: use Kbuild logic to include <asm-generic/sections.h> (diff)
downloadlinux-dev-cafbaae8afdb1e6cf9f4715aea2c897cf407ddfd.tar.xz
linux-dev-cafbaae8afdb1e6cf9f4715aea2c897cf407ddfd.zip
fs/notify/group.c: make fsnotify_final_destroy_group() static
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>
Diffstat (limited to 'fs/notify')
-rw-r--r--fs/notify/fsnotify.h3
-rw-r--r--fs/notify/group.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h
index 85e7d2b431d9..9c0898c4cfe1 100644
--- a/fs/notify/fsnotify.h
+++ b/fs/notify/fsnotify.h
@@ -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 */
diff --git a/fs/notify/group.c b/fs/notify/group.c
index ad1995980456..d16b62cb2854 100644
--- a/fs/notify/group.c
+++ b/fs/notify/group.c
@@ -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);