[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220909033828.993889-1-cuigaosheng1@huawei.com>
Date: Fri, 9 Sep 2022 11:38:28 +0800
From: Gaosheng Cui <cuigaosheng1@...wei.com>
To: <jack@...e.cz>, <amir73il@...il.com>, <cuigaosheng1@...wei.com>
CC: <linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] fsnotify: remove unused declaration
fsnotify_alloc_event_holder() and fsnotify_destroy_event_holder()
has been removed since commit 7053aee26a35 ("fsnotify: do not share
events between notification groups"), so remove it.
Signed-off-by: Gaosheng Cui <cuigaosheng1@...wei.com>
---
fs/notify/fsnotify.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h
index 87d8a50ee803..fde74eb333cc 100644
--- a/fs/notify/fsnotify.h
+++ b/fs/notify/fsnotify.h
@@ -76,10 +76,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_ */
--
2.25.1
Powered by blists - more mailing lists