Commit 3415fa79 authored by Gaosheng Cui's avatar Gaosheng Cui Committed by Baokun Li
Browse files

fsnotify: remove unused declaration

stable inclusion
from stable-v5.10.220
commit 229e73a0f4071ba699cd55836e95e7953b4c45bb
category: cleanup
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAVU3A
CVE: CVE-2024-47660

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=229e73a0f4071ba699cd55836e95e7953b4c45bb



--------------------------------

[ Upstream commit f847c74d ]

fsnotify_alloc_event_holder() and fsnotify_destroy_event_holder()
has been removed since commit 7053aee2 ("fsnotify: do not share
events between notification groups"), so remove it.

Reviewed-by: default avatarRitesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
parent cfbb036b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -61,10 +61,6 @@ static inline void fsnotify_clear_marks_by_sb(struct super_block *sb)
 */
extern void __fsnotify_update_child_dentry_flags(struct inode *inode);

/* allocate and destroy and event holder to attach events to notification/access queues */
extern struct fsnotify_event_holder *fsnotify_alloc_event_holder(void);
extern void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder);

extern struct kmem_cache *fsnotify_mark_connector_cachep;

#endif	/* __FS_NOTIFY_FSNOTIFY_H_ */