diff options
author | scottl <scottl@FreeBSD.org> | 2004-08-12 05:31:17 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2004-08-12 05:31:17 +0000 |
commit | 6a255763d78e0631ac9bd2df5f8e4f662a5d17a7 (patch) | |
tree | 8dc5380a00696e825839c81f3bb30c7d5eea09c2 /sys/dev/aac | |
parent | 6c91b9a2faaeb5e67891dd4b2c83637d47f3a968 (diff) | |
download | FreeBSD-src-6a255763d78e0631ac9bd2df5f8e4f662a5d17a7.zip FreeBSD-src-6a255763d78e0631ac9bd2df5f8e4f662a5d17a7.tar.gz |
Destroy mutexes on detach.
Diffstat (limited to 'sys/dev/aac')
-rw-r--r-- | sys/dev/aac/aac.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index a0bc1ad..60d4f1c 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -494,6 +494,10 @@ aac_detach(device_t dev) aac_free(sc); + mtx_destroy(&sc->aac_aifq_lock); + mtx_destroy(&sc->aac_io_lock); + mtx_destroy(&sc->aac_container_lock); + return(0); } |