diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2005-08-09 11:55:36 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-08-28 11:34:12 -0500 |
commit | e514385be2b355c1f3fc6385a98a6a0fc04235ae (patch) | |
tree | 5506bb95c40532666552eef52566436d0551bed9 /drivers/scsi/sr.c | |
parent | c9d297c543f379a27a34082070ed03a8ef846fc2 (diff) | |
download | talos-op-linux-e514385be2b355c1f3fc6385a98a6a0fc04235ae.tar.gz talos-op-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