patch-1.3.22 linux/drivers/scsi/u14-34f.c
Next file: linux/fs/Makefile
Previous file: linux/drivers/scsi/st_options.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Aug 31 08:09:06 1995
- Orig file:
v1.3.21/linux/drivers/scsi/u14-34f.c
- Orig date:
Wed Aug 2 13:21:14 1995
diff -u --recursive --new-file v1.3.21/linux/drivers/scsi/u14-34f.c linux/drivers/scsi/u14-34f.c
@@ -658,6 +658,7 @@
if (SCarg->host_scribble == NULL) {
printk("%s: abort, target %d, pid %ld inactive.\n",
BN(j), SCarg->target, SCarg->pid);
+ restore_flags(flags);
return SCSI_ABORT_NOT_RUNNING;
}
@@ -702,8 +703,8 @@
restore_flags(flags);
return SCSI_ABORT_NOT_RUNNING;
}
- else
- panic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
+ restore_flags(flags);
+ panic("%s: abort, mbox %d, invalid cp_stat.\n", BN(j), i);
}
int u14_34f_reset(Scsi_Cmnd * SCarg) {
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this