diff options
| author | Joe Korty <[email protected]> | 2006-03-31 02:30:32 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-03-31 12:18:53 -0800 |
| commit | 68eef3b4791572ecb70249c7fb145bb3742dd899 (patch) | |
| tree | 1f61fce839cec8d672ae06a423d46f0a6fcd924d /scripts | |
| parent | a2c348fe0117adced11e374329a5ea3f7c43cb41 (diff) | |
[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.
[[email protected]: cleanups, simplifications]
Signed-off-by: Joe Korty <[email protected]>
Cc: Neil Horman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions