ide: pass error value to ide_complete_rq()
[deliverable/linux.git] / drivers / ide / ide-tape.c
index a42e49c6cc3f36951737ff44ed9affbee891f6ba..3bfcd7290ce01a080cc837450ef35ffc1b07f75a 100644 (file)
@@ -774,8 +774,8 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive,
                if (rq != postponed_rq) {
                        printk(KERN_ERR "ide-tape: ide-tape.c bug - "
                                        "Two DSC requests were queued\n");
-                       rq->errors = IDE_DRV_ERROR_GENERAL;
                        drive->failed_pc = NULL;
+                       rq->errors = 0;
                        ide_complete_rq(drive, 0);
                        return ide_stopped;
                }
This page took 0.023399 seconds and 5 git commands to generate.