]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd1e026f97912d3f1e069a81132ae2a069023e3f
tree6e2adc4932f0fc136d08da5ba5adb032970a1b05
parentdaa86a6723ac3062894d08c5193f438e53e28e44
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