diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2005-08-09 18:55:36 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-08-28 18:34:12 +0200 |
commit | e514385be2b355c1f3fc6385a98a6a0fc04235ae (patch) | |
tree | 5506bb95c40532666552eef52566436d0551bed9 /drivers/scsi/sr.c | |
parent | [SCSI] fix 3ware raid emulated commands (diff) | |
download | linux-e514385be2b355c1f3fc6385a98a6a0fc04235ae.tar.xz linux-e514385be2b355c1f3fc6385a98a6a0fc04235ae.zip |
[SCSI] fix sense buffer length handling problem
The new bio code was incorrectly converted from stack allocated to
kmalloc'd buffer handling. There are two places where it incorrectly
uses sizeof(*sense) to get the size of the sense buffer. This
actually produces one, so no sense data was ever getting back, causing
failure in things like disk spin up.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions