/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_DNOTIFY_H #define _LINUX_DNOTIFY_H /* * Directory notification for Linux * * Copyright (C) 2000,2002 Stephen Rothwell */ #include <linux/fs.h> struct dnotify_struct { struct dnotify_struct * dn_next; __u32 dn_mask; int dn_fd; struct file * dn_filp; fl_owner_t dn_owner; }; #ifdef __KERNEL__ #ifdef CONFIG_DNOTIFY #define DNOTIFY_ALL_EVENTS (FS_DELETE | FS_DELETE_CHILD |\ FS_MODIFY | FS_MODIFY_CHILD |\ FS_ACCESS | FS_ACCESS_CHILD |\ FS_ATTRIB | FS_ATTRIB_CHILD |\ FS_CREATE | FS_DN_RENAME |\ FS_MOVED_FROM | FS_MOVED_TO) extern int dir_notify_enable; extern void dnotify_flush(struct file *, fl_owner_t); extern int fcntl_dirnotify(int, struct file *, unsigned long); #else
static inline void dnotify_flush(struct file *filp, fl_owner_t id) { }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Robert Love | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Robert Love | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Robert Love | 60 | 49.18% | 1 | 12.50% |
Linus Torvalds (pre-git) | 34 | 27.87% | 1 | 12.50% |
Stephen Rothwell | 15 | 12.30% | 2 | 25.00% |
Eric Paris | 5 | 4.10% | 1 | 12.50% |
Alexey Dobriyan | 4 | 3.28% | 1 | 12.50% |
Linus Torvalds | 3 | 2.46% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 0.82% | 1 | 12.50% |
Total | 122 | 100.00% | 8 | 100.00% |