aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
23 struct fsnotify_group *group, struct vfsmount *mnt, 23 struct fsnotify_group *group, struct vfsmount *mnt,
24 int allow_dups); 24 int allow_dups);
25 25
26/* final kfree of a group */
27extern void fsnotify_final_destroy_group(struct fsnotify_group *group);
28
29/* vfsmount specific destruction of a mark */ 26/* vfsmount specific destruction of a mark */
30extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark); 27extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark);
31/* inode specific destruction of a mark */ 28/* 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 @@
31/* 31/*
32 * Final freeing of a group 32 * Final freeing of a group
33 */ 33 */
34void fsnotify_final_destroy_group(struct fsnotify_group *group) 34static void fsnotify_final_destroy_group(struct fsnotify_group *group)
35{ 35{
36 if (group->ops->free_group_priv) 36 if (group->ops->free_group_priv)
37 group->ops->free_group_priv(group); 37 group->ops->free_group_priv(group);