Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrew Morton and committed by
Linus Torvalds
cafbaae8 20882185

+1 -4
-3
fs/notify/fsnotify.h
··· 23 23 struct fsnotify_group *group, struct vfsmount *mnt, 24 24 int allow_dups); 25 25 26 - /* final kfree of a group */ 27 - extern void fsnotify_final_destroy_group(struct fsnotify_group *group); 28 - 29 26 /* vfsmount specific destruction of a mark */ 30 27 extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark); 31 28 /* inode specific destruction of a mark */
+1 -1
fs/notify/group.c
··· 31 31 /* 32 32 * Final freeing of a group 33 33 */ 34 - void fsnotify_final_destroy_group(struct fsnotify_group *group) 34 + static void fsnotify_final_destroy_group(struct fsnotify_group *group) 35 35 { 36 36 if (group->ops->free_group_priv) 37 37 group->ops->free_group_priv(group);