diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2010-03-05 19:38:27 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-07 13:12:38 +0530 |
commit | 95aa060decd2472d319c3f12b0b1b699a5f35058 (patch) | |
tree | c6167c5897c92dcee5c7c624d71b5be99057ee2d /drivers/ide/ide-tape.c | |
parent | 25e2934c26f5efaea156c9fda4457d01a8bb44e1 (diff) | |
download | kernel_samsung_smdk4412-95aa060decd2472d319c3f12b0b1b699a5f35058.zip kernel_samsung_smdk4412-95aa060decd2472d319c3f12b0b1b699a5f35058.tar.gz kernel_samsung_smdk4412-95aa060decd2472d319c3f12b0b1b699a5f35058.tar.bz2 |
[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 <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/ide/ide-tape.c')
0 files changed, 0 insertions, 0 deletions