Skip to content
Commit e514385b authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent c9d297c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment