summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2002-07-03 21:13:07 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2002-07-03 21:13:07 +0000
commiteb5c5be45939713345204664aa86051b24effc40 (patch)
tree4ad5fa306f8df81e40830a3d76d916a5d8bc97ad /sys
parent545ed6fd4828a7956080d35089ffeded780069df (diff)
Another missing call to AMI_UNLOCK_API(). Fixes SPL NOT LOWERED errors seen
when trying to mount/unmount a 900GB hardware RAID filesystem on an AMI card.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/ami.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 8c6636b9f28..9075a10c3e7 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.18 2002/04/26 02:36:53 nate Exp $ */
+/* $OpenBSD: ami.c,v 1.19 2002/07/03 21:13:06 aaron Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1169,6 +1169,7 @@ ami_scsi_cmd(xs)
case PREVENT_ALLOW:
AMI_DPRINTF(AMI_D_CMD, ("PREVENT/ALLOW "));
+ AMI_UNLOCK_AMI(sc, lock);
return (COMPLETE);
case SYNCHRONIZE_CACHE: