]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - fs/notify/fdinfo.h
1 #ifndef __FSNOTIFY_FDINFO_H__
2 #define __FSNOTIFY_FDINFO_H__
4 #include <linux/errno.h>
5 #include <linux/proc_fs.h>
12 #ifdef CONFIG_INOTIFY_USER
13 extern int inotify_show_fdinfo(struct seq_file
*m
, struct file
*f
);
16 #ifdef CONFIG_FANOTIFY
17 extern int fanotify_show_fdinfo(struct seq_file
*m
, struct file
*f
);
20 #else /* CONFIG_PROC_FS */
22 #define inotify_show_fdinfo NULL
23 #define fanotify_show_fdinfo NULL
25 #endif /* CONFIG_PROC_FS */
27 #endif /* __FSNOTIFY_FDINFO_H__ */