diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-17 04:14:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-17 04:14:53 +0000 |
commit | d510d42043583658ed1ba220fb77b18a92137a06 (patch) | |
tree | 9cb33c7f0531bb173f11d4ff5ec2c4b47db21a0b /sys/scsi | |
parent | c1ab0af8de28ba128f274eb08a21f54d8d23c62c (diff) |
ramdisks need to compile; ok dlg
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/scsi_base.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index 8efa68b2f0d..88622a7ea64 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_base.c,v 1.171 2010/04/17 00:51:13 dlg Exp $ */ +/* $OpenBSD: scsi_base.c,v 1.172 2010/04/17 04:14:52 deraadt Exp $ */ /* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */ /* @@ -279,8 +279,8 @@ scsi_ioh_add(struct scsi_iohandler *ioh) break; default: panic("scsi_ioh_add: unexpected state %u", ioh->entry.state); - } #endif + } mtx_leave(&iopl->mtx); /* lets get some io up in the air */ @@ -303,8 +303,9 @@ scsi_ioh_del(struct scsi_iohandler *ioh) break; default: panic("scsi_ioh_add: unexpected state %u", ioh->entry.state); - } #endif + } + mtx_leave(&iopl->mtx); } |