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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'fsnotify-for_v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull fsnotify updates from Jan Kara:
"Two cleanups for fsnotify code"

* tag 'fsnotify-for_v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
fanotify: Remove obsoleted fanotify_event_has_path()
fsnotify: remove unused declaration

-10
-6
fs/notify/fanotify/fanotify.h
··· 452 452 return mask & FAN_FS_ERROR; 453 453 } 454 454 455 - static inline bool fanotify_event_has_path(struct fanotify_event *event) 456 - { 457 - return event->type == FANOTIFY_EVENT_TYPE_PATH || 458 - event->type == FANOTIFY_EVENT_TYPE_PATH_PERM; 459 - } 460 - 461 455 static inline const struct path *fanotify_event_path(struct fanotify_event *event) 462 456 { 463 457 if (event->type == FANOTIFY_EVENT_TYPE_PATH)
-4
fs/notify/fsnotify.h
··· 76 76 */ 77 77 extern void __fsnotify_update_child_dentry_flags(struct inode *inode); 78 78 79 - /* allocate and destroy and event holder to attach events to notification/access queues */ 80 - extern struct fsnotify_event_holder *fsnotify_alloc_event_holder(void); 81 - extern void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder); 82 - 83 79 extern struct kmem_cache *fsnotify_mark_connector_cachep; 84 80 85 81 #endif /* __FS_NOTIFY_FSNOTIFY_H_ */