patch-2.4.0-test6 linux/drivers/net/fc/iph5526.c
Next file: linux/drivers/net/gmac.c
Previous file: linux/drivers/net/fc/Makefile
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Aug 5 08:39:14 2000
- Orig file:
v2.4.0-test5/linux/drivers/net/fc/iph5526.c
- Orig date:
Thu Jul 27 17:38:00 2000
diff -u --recursive --new-file v2.4.0-test5/linux/drivers/net/fc/iph5526.c linux/drivers/net/fc/iph5526.c
@@ -3952,8 +3952,10 @@
/* Get an used OX_ID. We could have pending commands.
*/
- if (get_scsi_oxid(fi))
+ if (get_scsi_oxid(fi)) {
+ spin_unlock_irqrestore(&fi->fc_lock, flags);
return 1;
+ }
fi->q.free_scsi_oxid[fi->g.scsi_oxid] = OXID_INUSE;
/* Maintain a handler so that we can associate the done() function
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)