diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-04 13:00:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-04 13:00:01 -0400 |
commit | cf626b0da78df6669c6b5f51ddd9a70a0702e579 (patch) | |
tree | 45d29a4cb7574aed7f140814ed22088ded21c291 /include/net/ping.h | |
parent | 9c50eafc32ddbd166c8a2bbaecd4ad201c452b14 (diff) | |
parent | 5ef03dbd91855544cd4c7c1910c3ef5226ee87e8 (diff) |
Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull procfs updates from Al Viro:
"Christoph's proc_create_... cleanups series"
* 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (44 commits)
xfs, proc: hide unused xfs procfs helpers
isdn/gigaset: add back gigaset_procinfo assignment
proc: update SIZEOF_PDE_INLINE_NAME for the new pde fields
tty: replace ->proc_fops with ->proc_show
ide: replace ->proc_fops with ->proc_show
ide: remove ide_driver_proc_write
isdn: replace ->proc_fops with ->proc_show
atm: switch to proc_create_seq_private
atm: simplify procfs code
bluetooth: switch to proc_create_seq_data
netfilter/x_tables: switch to proc_create_seq_private
netfilter/xt_hashlimit: switch to proc_create_{seq,single}_data
neigh: switch to proc_create_seq_data
hostap: switch to proc_create_{seq,single}_data
bonding: switch to proc_create_seq_data
rtc/proc: switch to proc_create_single_data
drbd: switch to proc_create_single
resource: switch to proc_create_seq_data
staging/rtl8192u: simplify procfs code
jfs: simplify procfs code
...
Diffstat (limited to 'include/net/ping.h')
-rw-r--r-- | include/net/ping.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/ping.h b/include/net/ping.h index 4cd90d6b5c25..fd080e043a6e 100644 --- a/include/net/ping.h +++ b/include/net/ping.h | |||
@@ -83,20 +83,9 @@ int ping_queue_rcv_skb(struct sock *sk, struct sk_buff *skb); | |||
83 | bool ping_rcv(struct sk_buff *skb); | 83 | bool ping_rcv(struct sk_buff *skb); |
84 | 84 | ||
85 | #ifdef CONFIG_PROC_FS | 85 | #ifdef CONFIG_PROC_FS |
86 | struct ping_seq_afinfo { | ||
87 | char *name; | ||
88 | sa_family_t family; | ||
89 | const struct file_operations *seq_fops; | ||
90 | const struct seq_operations seq_ops; | ||
91 | }; | ||
92 | |||
93 | extern const struct file_operations ping_seq_fops; | ||
94 | |||
95 | void *ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family); | 86 | void *ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family); |
96 | void *ping_seq_next(struct seq_file *seq, void *v, loff_t *pos); | 87 | void *ping_seq_next(struct seq_file *seq, void *v, loff_t *pos); |
97 | void ping_seq_stop(struct seq_file *seq, void *v); | 88 | void ping_seq_stop(struct seq_file *seq, void *v); |
98 | int ping_proc_register(struct net *net, struct ping_seq_afinfo *afinfo); | ||
99 | void ping_proc_unregister(struct net *net, struct ping_seq_afinfo *afinfo); | ||
100 | 89 | ||
101 | int __init ping_proc_init(void); | 90 | int __init ping_proc_init(void); |
102 | void ping_proc_exit(void); | 91 | void ping_proc_exit(void); |