seq_file: Add helpers for iteration over a hlist
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 8 Feb 2010 23:18:22 +0000 (23:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Feb 2010 19:12:06 +0000 (11:12 -0800)
commit66655de6d132b726be64c324bc3f9ea366d20697
treed88c42a19de245e4a81337eef6bf06555586005d
parentb1109bf085c8dd69537b7876ea83f914dd1fe46a
seq_file: Add helpers for iteration over a hlist

Some places in kernel need to iterate over a hlist in seq_file,
so provide some common helpers.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/seq_file.c
include/linux/seq_file.h