proc: introduce proc_create_seq_private
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Apr 2018 15:05:17 +0000 (17:05 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:23:35 +0000 (07:23 +0200)
commit44414d82cfe0f68cb59d0a42f599ccd893ae0032
treef89c89cf2f7c919c22bcf3dac566c89eac6d2ff4
parentfddda2b7b521185f3aa018f9559eb33b0aee53a9
proc: introduce proc_create_seq_private

Variant of proc_create_data that directly take a struct seq_operations
argument + a private state size and drastically reduces the boilerplate
code in the callers.

All trivial callers converted over.

Signed-off-by: Christoph Hellwig <hch@lst.de>
12 files changed:
fs/locks.c
fs/proc/generic.c
fs/proc/internal.h
include/linux/atalk.h
include/linux/proc_fs.h
kernel/time/timer_list.c
mm/vmalloc.c
net/appletalk/aarp.c
net/appletalk/atalk_proc.c
net/atm/lec.c
net/decnet/af_decnet.c
net/decnet/dn_route.c