0001
0002 #ifndef __FSNOTIFY_FDINFO_H__
0003 #define __FSNOTIFY_FDINFO_H__
0004
0005 #include <linux/errno.h>
0006 #include <linux/proc_fs.h>
0007
0008 struct seq_file;
0009 struct file;
0010
0011 #ifdef CONFIG_PROC_FS
0012
0013 #ifdef CONFIG_INOTIFY_USER
0014 void inotify_show_fdinfo(struct seq_file *m, struct file *f);
0015 #endif
0016
0017 #ifdef CONFIG_FANOTIFY
0018 void fanotify_show_fdinfo(struct seq_file *m, struct file *f);
0019 #endif
0020
0021 #else
0022
0023 #define inotify_show_fdinfo NULL
0024 #define fanotify_show_fdinfo NULL
0025
0026 #endif
0027
0028 #endif