1
0
Files
linux/fs
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:51 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 07:33:19 -08:00
2006-03-29 13:24:50 +11:00
2006-01-11 18:42:13 -08:00
2006-01-10 08:01:25 -08:00
2006-01-08 20:12:40 -08:00
2005-10-30 17:37:32 -08:00
2006-03-28 09:16:05 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-03-23 23:44:19 -05:00
2006-03-31 12:18:52 -08:00
2006-03-28 09:16:08 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:24 -08:00
2005-11-07 18:18:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-28 09:16:05 -08:00
2006-03-23 07:38:12 -08:00
2006-03-30 22:16:24 -08:00
2006-02-11 21:41:10 -08:00
2006-03-26 08:56:55 -08:00