Files
linux-st/include/linux
Joe Korty 68eef3b479 [PATCH] Simplify proc/devices and fix early termination regression
Make baby-simple the code for /proc/devices.  Based on the proven design
for /proc/interrupts.

This also fixes the early-termination regression 2.6.16 introduced, as
demonstrated by:

    # dd if=/proc/devices bs=1
    Character devices:
      1 mem
    27+0 records in
    27+0 records out

This should also work (but is untested) when /proc/devices >4096 bytes,
which I believe is what the original 2.6.16 rewrite fixed.

[akpm@osdl.org: cleanups, simplifications]
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-31 12:18:53 -08:00
..
2006-03-31 12:18:48 -08:00
2006-03-24 07:33:20 -08:00
2006-03-28 09:16:05 -08:00
2006-03-23 07:38:09 -08:00
2006-03-27 08:44:59 -08:00
2006-03-27 08:44:59 -08:00
2006-03-24 07:33:25 -08:00
2006-03-28 09:16:08 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:57:03 -08:00
2006-03-27 08:44:51 -08:00
2006-03-28 09:16:05 -08:00
2006-03-26 08:56:56 -08:00
2006-03-23 07:38:12 -08:00
2006-03-23 07:38:12 -08:00
2006-03-27 08:44:52 -08:00
2006-03-22 07:54:02 -08:00
2006-03-27 08:44:48 -08:00
2006-03-23 07:38:13 -08:00
2006-03-23 07:38:14 -08:00
2006-03-23 07:38:14 -08:00
2006-03-29 13:24:50 +11:00
2006-03-27 08:44:48 -08:00
2006-03-28 18:36:44 -08:00
2006-03-25 08:22:51 -08:00
2006-03-25 08:22:53 -08:00
2006-03-27 08:44:51 -08:00
2006-03-23 07:38:12 -08:00
2006-03-26 08:57:09 -08:00
2006-03-28 09:16:05 -08:00
2006-03-24 07:33:31 -08:00
2006-03-23 07:38:07 -08:00
2006-03-26 08:57:03 -08:00
2006-03-23 07:38:11 -08:00
2006-03-26 08:57:00 -08:00
2006-03-23 07:38:14 -08:00
2006-03-28 09:16:05 -08:00
2006-03-23 07:12:57 -05:00