1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __FSNOTIFY_FDINFO_H__
3 #define __FSNOTIFY_FDINFO_H__
5 #include <linux/errno.h>
6 #include <linux/proc_fs.h>
13 #ifdef CONFIG_INOTIFY_USER
14 void inotify_show_fdinfo(struct seq_file *m, struct file *f);
17 #ifdef CONFIG_FANOTIFY
18 void fanotify_show_fdinfo(struct seq_file *m, struct file *f);
21 #else /* CONFIG_PROC_FS */
23 #define inotify_show_fdinfo NULL
24 #define fanotify_show_fdinfo NULL
26 #endif /* CONFIG_PROC_FS */
28 #endif /* __FSNOTIFY_FDINFO_H__ */