diff options
author | scottl <scottl@FreeBSD.org> | 2007-06-05 05:03:13 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-06-05 05:03:13 +0000 |
commit | 1c9a6e53273977a479ca9453b090337ebddadedd (patch) | |
tree | f4d77826df4391e1f600f084e9bd5723e669979a /sys | |
parent | dcba3b4fa8419f3d5a1fbb4a0008976414cb062c (diff) | |
download | FreeBSD-src-1c9a6e53273977a479ca9453b090337ebddadedd.zip FreeBSD-src-1c9a6e53273977a479ca9453b090337ebddadedd.tar.gz |
Satisfy witness during shutdown
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ciss/ciss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 281b308..522afa5 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); } |