diff options
| author | Tony Battersby <[email protected]> | 2008-01-22 15:25:49 -0500 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2008-01-23 13:40:55 -0600 |
| commit | 53474c042c0e1be39557474c945ad4a8e653ad46 (patch) | |
| tree | 52d7719a849d067d2cf837d90d5345600bbe7108 /include/linux/debugobjects.h | |
| parent | 90c18f3c280f80e0bfbab7c1fc4b282842ccb853 (diff) | |
[SCSI] sg: fix /proc/scsi/sg/devices when no SCSI devices
The patch "[SCSI] sg: use idr to replace static arrays" in 2.6.24-rc1
causes a bogus line to appear in /proc/scsi/sg/devices containing
"-1 -1 -1 -1 -1 -1 -1 -1 -1" when there are no SCSI devices in the
system. In 2.6.23, /proc/scsi/sg/devices is empty when there are no
SCSI devices in the system. A similar problem exists with
/proc/scsi/sg/device_strs. The following patch restores the behavior
of 2.6.23.
Signed-off-by: Tony Battersby <[email protected]>
Acked-by: Douglas Gilbert <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions