patch-1.3.22 linux/drivers/scsi/eata_dma.c

Next file: linux/drivers/scsi/eata_pio.c
Previous file: linux/drivers/scsi/eata.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.21/linux/drivers/scsi/eata_dma.c linux/drivers/scsi/eata_dma.c
@@ -540,8 +540,9 @@
 	DBG(DBG_ABNORM, printk("eata_dma: abort, queue slot locked.\n"));
 	DBG(DBG_ABNORM && DBG_DELAY, DEL2(500));
 	return (SCSI_ABORT_NOT_RUNNING);
-    } else
-	panic("eata_dma: abort: invalid slot status\n");
+    }
+    restore_flags(flags);
+    panic("eata_dma: abort: invalid slot status\n");
 }
 
 int eata_reset(Scsi_Cmnd * cmd)

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this