#ifndef __FSNOTIFY_FDINFO_H__ #define __FSNOTIFY_FDINFO_H__ #include #include 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__ */ t' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-03trace: rename trace_print_hex_seq arg and add kdocDaniel Borkmann1-2/+2
Steven suggested to improve trace_print_hex_seq() a bit after commit 2acae0d5b0f7 ("trace: add variant without spacing in trace_print_hex_seq") in two ways: i) by adding a kdoc comment for the helper function itself and ii) by renaming 'spacing' argument into 'concatenate' to better denote that we don't add spaces between each hex bytes. Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>