svn commit: r333279 - head/sys/geom/mirror
Mark Johnston
markj at FreeBSD.org
Sun May 6 00:05:04 UTC 2018
Author: markj
Date: Sun May 6 00:05:03 2018
New Revision: 333279
URL: https://svnweb.freebsd.org/changeset/base/333279
Log:
Remove a redundant assertion.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Modified:
head/sys/geom/mirror/g_mirror.c
Modified: head/sys/geom/mirror/g_mirror.c
==============================================================================
--- head/sys/geom/mirror/g_mirror.c Sun May 6 00:03:24 2018 (r333278)
+++ head/sys/geom/mirror/g_mirror.c Sun May 6 00:05:03 2018 (r333279)
@@ -207,7 +207,6 @@ g_mirror_event_send(void *arg, int state, int flags)
mtx_unlock(&sc->sc_queue_mtx);
if ((flags & G_MIRROR_EVENT_DONTWAIT) != 0)
return (0);
- sx_assert(&sc->sc_lock, SX_XLOCKED);
G_MIRROR_DEBUG(4, "%s: Sleeping %p.", __func__, ep);
sx_xunlock(&sc->sc_lock);
while ((ep->e_flags & G_MIRROR_EVENT_DONE) == 0) {
More information about the svn-src-head
mailing list