From eb5c5be45939713345204664aa86051b24effc40 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Wed, 3 Jul 2002 21:13:07 +0000 Subject: 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. --- sys/dev/ic/ami.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev') 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: -- cgit v1.2.3