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

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

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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this