[PATCH] teach seq_file to discard entries
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 28 Mar 2008 04:46:41 +0000 (00:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 Apr 2008 03:14:02 +0000 (23:14 -0400)
commit521b5d0c40386f4a9805cdec7bd979fc96a86aeb
tree2193c12ee3dc0551790c79370603acb57e0f59e7
parent4e1b36fb485dd81b0818ef1bc8fb5c0f2923a283
[PATCH] teach seq_file to discard entries

Allow ->show() return SEQ_SKIP; that will discard all
output from that element and move on.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/pnode.h
fs/seq_file.c
include/linux/seq_file.h