aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorKrishna Gudipati <[email protected]>2010-03-06 03:38:27 +0000
committerJames Bottomley <[email protected]>2010-03-07 07:42:38 +0000
commit95aa060decd2472d319c3f12b0b1b699a5f35058 (patch)
treec6167c5897c92dcee5c7c624d71b5be99057ee2d /net/lapb/lapb_in.c
parent[SCSI] bfa: FCS and include file changes. (diff)
downloadkernel-95aa060decd2472d319c3f12b0b1b699a5f35058.tar.gz
kernel-95aa060decd2472d319c3f12b0b1b699a5f35058.zip
[SCSI] bfa: Handle SCSI IO underrun case.
When IO is completed with underrun and with good SCSI status, check if the transferred bytes against scsi_cmnd->underflow, which is set to minimum number of bytes that must be transferred for this command, if is less than required minimum, complete the IO with DID_ERROR. Signed-off-by: Krishna Gudipati <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions