seq_file: add seq_list_*_percpu helpers
authorJeff Layton <jlayton@redhat.com>
Fri, 21 Jun 2013 12:58:21 +0000 (08:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Jul 2013 09:36:41 +0000 (13:36 +0400)
commit0bc77381c1b1600e659eb7322c39d1753615722d
tree6e2adc4932f0fc136d08da5ba5adb032970a1b05
parent99b072bb38c9b398bc7c3fc8a0f30d0801f78750
seq_file: add seq_list_*_percpu helpers

When we convert the file_lock_list to a set of percpu lists, we'll need
a way to iterate over them in order to output /proc/locks info. Add
some seq_list_*_percpu helpers to handle that.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/seq_file.c
include/linux/seq_file.h