[PATCH 0/15] Make common helpers for seq_files that work with list_head-s (v2)

2007-05-18 Thread Pavel Emelianov
Many places in kernel use seq_file API to iterate over a regular list_head. The code for such iteration is identical in all the places, so it's worth introducing a common helpers. This makes code about 300 lines smaller: block/genhd.c | 40 +++-

[PATCH 0/15] Make common helpers for seq_files that work with list_head-s (v2)

2007-05-18 Thread Pavel Emelianov
Many places in kernel use seq_file API to iterate over a regular list_head. The code for such iteration is identical in all the places, so it's worth introducing a common helpers. This makes code about 300 lines smaller: block/genhd.c | 40 +++-