commit | e514385be2b355c1f3fc6385a98a6a0fc04235ae | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@steeleye.com> | Tue Aug 09 11:55:36 2005 -0500 |
committer | James Bottomley <jejb@mulgrave.(none)> | Sun Aug 28 11:34:12 2005 -0500 |
tree | 5506bb95c40532666552eef52566436d0551bed9 | |
parent | c9d297c543f379a27a34082070ed03a8ef846fc2 [diff] |
[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>