From: James Bottomley Date: Tue, 9 Aug 2005 16:55:36 +0000 (-0500) Subject: [SCSI] fix sense buffer length handling problem X-Git-Tag: v2.6.14-rc1~522^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e514385be2b355c1f3fc6385a98a6a0fc04235ae;p=pandora-kernel.git [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 --- Reading git-diff-tree failed