mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-29 13:00:35 +00:00
a3816ab0e8
seq_printf functions shouldn't really check the return value. Checking seq_has_overflowed() occasionally is used instead. Update vfs documentation. Link: http://lkml.kernel.org/p/e37e6e7b76acbdcc3bb4ab2a57c8f8ca1ae11b9a.1412031505.git.joe@perches.com Cc: David S. Miller <davem@davemloft.net> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Joe Perches <joe@perches.com> [ did a few clean ups ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
28 lines
519 B
C
28 lines
519 B
C
#ifndef __FSNOTIFY_FDINFO_H__
|
|
#define __FSNOTIFY_FDINFO_H__
|
|
|
|
#include <linux/errno.h>
|
|
#include <linux/proc_fs.h>
|
|
|
|
struct seq_file;
|
|
struct file;
|
|
|
|
#ifdef CONFIG_PROC_FS
|
|
|
|
#ifdef CONFIG_INOTIFY_USER
|
|
void inotify_show_fdinfo(struct seq_file *m, struct file *f);
|
|
#endif
|
|
|
|
#ifdef CONFIG_FANOTIFY
|
|
void fanotify_show_fdinfo(struct seq_file *m, struct file *f);
|
|
#endif
|
|
|
|
#else /* CONFIG_PROC_FS */
|
|
|
|
#define inotify_show_fdinfo NULL
|
|
#define fanotify_show_fdinfo NULL
|
|
|
|
#endif /* CONFIG_PROC_FS */
|
|
|
|
#endif /* __FSNOTIFY_FDINFO_H__ */
|