summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_obsolete.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
commitb9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch)
tree42d07b0c7246ae2536a702e7c5de9e2732341116 /drivers/scsi/scsi_obsolete.c
parent7406b0a326f2d70ade2671c37d1beef62249db97 (diff)
Merge with 2.3.99-pre6.
Diffstat (limited to 'drivers/scsi/scsi_obsolete.c')
-rw-r--r--drivers/scsi/scsi_obsolete.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_obsolete.c b/drivers/scsi/scsi_obsolete.c
index a957a4c01..0b25bd4e2 100644
--- a/drivers/scsi/scsi_obsolete.c
+++ b/drivers/scsi/scsi_obsolete.c
@@ -377,6 +377,7 @@ void scsi_old_done(Scsi_Cmnd * SCpnt)
SCpnt->use_sg = SCpnt->old_use_sg;
SCpnt->cmd_len = SCpnt->old_cmd_len;
SCpnt->sc_data_direction = SCpnt->sc_old_data_direction;
+ SCpnt->underflow = SCpnt->old_underflow;
}
switch (host_byte(result)) {
case DID_OK:
@@ -637,6 +638,7 @@ void scsi_old_done(Scsi_Cmnd * SCpnt)
SCpnt->use_sg = SCpnt->old_use_sg;
SCpnt->cmd_len = SCpnt->old_cmd_len;
SCpnt->sc_data_direction = SCpnt->sc_old_data_direction;
+ SCpnt->underflow = SCpnt->old_underflow;
SCpnt->result = 0;
/*
* Ugly, ugly. The newer interfaces all
@@ -664,6 +666,7 @@ void scsi_old_done(Scsi_Cmnd * SCpnt)
SCpnt->use_sg = SCpnt->old_use_sg;
SCpnt->cmd_len = SCpnt->old_cmd_len;
SCpnt->sc_data_direction = SCpnt->sc_old_data_direction;
+ SCpnt->underflow = SCpnt->old_underflow;
/*
* The upper layers assume the lock isn't held. We mustn't
* disappoint them. When the new error handling code is in