Allocate 96 bytes for SCSI sense data reply
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 7 Mar 2006 01:41:44 +0000 (17:41 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 7 Mar 2006 01:41:44 +0000 (17:41 -0800)
The SCSI layer uses SCSI_SENSE_BUFFERSIZE (96) for the sense buffer
size, even though some other code uses "sizeof(struct request_sense)"
(which is 64 bytes).  Allocate the buffer using the bigger of the two
for safety.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found