Linux 4.18.10
[linux/fpc-iii.git] / fs / notify / fdinfo.h
blob5c9937e02e21740f062a9b5e73694100ecc7c3c8
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>
8 struct seq_file;
9 struct file;
11 #ifdef CONFIG_PROC_FS
13 #ifdef CONFIG_INOTIFY_USER
14 void inotify_show_fdinfo(struct seq_file *m, struct file *f);
15 #endif
17 #ifdef CONFIG_FANOTIFY
18 void fanotify_show_fdinfo(struct seq_file *m, struct file *f);
19 #endif
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__ */