summaryrefslogtreecommitdiffstats
path: root/lib/sha1.c
diff options
context:
space:
mode:
authorChristoph Hellwig2006-06-03 13:21:13 +0200
committerJames Bottomley2006-06-06 17:07:25 +0200
commit5d5ff44fe6775ccb922fd1f7d478b2ba9ca95068 (patch)
treed8569caefe1cb5ecced30929ef98d3e1fe642425 /lib/sha1.c
parent[SCSI] megaraid_sas: switch fw_outstanding to an atomic_t (diff)
downloadkernel-qcow2-linux-5d5ff44fe6775ccb922fd1f7d478b2ba9ca95068.tar.gz
kernel-qcow2-linux-5d5ff44fe6775ccb922fd1f7d478b2ba9ca95068.tar.xz
kernel-qcow2-linux-5d5ff44fe6775ccb922fd1f7d478b2ba9ca95068.zip
[SCSI] fix up request buffer reference in various scsi drivers
Various scsi drivers use scsi_cmnd.buffer and scsi_cmnd.bufflen in their queuecommand functions. Those fields are internal storage for the midlayer only and are used to restore the original payload after request_buffer and request_bufflen have been overwritten for EH. Using the buffer and bufflen fields means they do very broken things in error handling. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions