summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2007-01-15 16:22:20 +0000
committerscottl <scottl@FreeBSD.org>2007-01-15 16:22:20 +0000
commit6b5470947c8c121de7ab3b8dfcbc7b7cf55807a3 (patch)
tree60f16dcf28dd5f7f42c29d40408f7cc947c020cd /sys/dev/aac
parent0a430104078b053650251f158a2c2a1dbf5ebc7e (diff)
downloadFreeBSD-src-6b5470947c8c121de7ab3b8dfcbc7b7cf55807a3.zip
FreeBSD-src-6b5470947c8c121de7ab3b8dfcbc7b7cf55807a3.tar.gz
Add a missing mutex unlock to an error path.
Submitted by: Yuxiang Luo PR: 107943
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac_cam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aac/aac_cam.c b/sys/dev/aac/aac_cam.c
index aa852c5..1b5690a 100644
--- a/sys/dev/aac/aac_cam.c
+++ b/sys/dev/aac/aac_cam.c
@@ -586,6 +586,7 @@ aac_cam_reset_bus(struct cam_sim *sim, union ccb *ccb)
device_printf(sc->aac_dev,"Error %d sending ResetBus command\n",
e);
aac_release_sync_fib(sc);
+ mtx_unlock(&sc->aac_io_lock);
return (CAM_REQ_ABORTED);
}
OpenPOWER on IntegriCloud