aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ciss
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2007-06-05 05:03:13 +0000
committerScott Long <scottl@FreeBSD.org>2007-06-05 05:03:13 +0000
commitd4a4ddc6ba0af48310b29f7cbcfdf8e1b73067a4 (patch)
treef4d77826df4391e1f600f084e9bd5723e669979a /sys/dev/ciss
parent95e3a0bca37902a6ffcf9817fdbd9aa5ee12a516 (diff)
Notes
Diffstat (limited to 'sys/dev/ciss')
-rw-r--r--sys/dev/ciss/ciss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 281b308cfb99..522afa598bff 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -521,11 +521,13 @@ ciss_shutdown(device_t dev)
debug_called(1);
+ mtx_lock(&sc->ciss_mtx);
/* flush adapter cache */
ciss_flush_adapter(sc);
if (sc->ciss_soft_reset)
ciss_soft_reset(sc);
+ mtx_unlock(&sc->ciss_mtx);
return(0);
}