]> git.hungrycats.org Git - linux/commit
[PATCH] Avoid /proc/{ioports,iomem} truncation
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
Wed, 24 Sep 2003 08:09:48 +0000 (01:09 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 24 Sep 2003 08:09:48 +0000 (01:09 -0700)
commitab4a802e409fcec8983eeb194b6a8145d00b7b17
treed8f58cd5ace1da71b046b040326c5ad44a751c89
parentabd184cb4bf6fcb965c4aafab88e26ef6a46ccec
[PATCH] Avoid /proc/{ioports,iomem} truncation

The current seq_file code for resource handling will truncate the output
if it overflows the seq_file buffer (one page).  That's because it tries
to traverse the resource tree in one big blob.

So change that to instead traverse the resource tree one entry at a time
and have a real iterator, and clean it up a bit.
kernel/resource.c