Author: trasz
Date: Sun Oct 29 12:03:06 2017
New Revision: 325101
URL: https://svnweb.freebsd.org/changeset/base/325101

Log:
  Add back missing MTX_DEF, it still needs to be there.
  
  (Although it's defined to be 0, so there's no functional change.)
  
  Reported by:  glebius
  MFC after:    2 weeks

Modified:
  head/sys/geom/mountver/g_mountver.c

Modified: head/sys/geom/mountver/g_mountver.c
==============================================================================
--- head/sys/geom/mountver/g_mountver.c Sun Oct 29 09:50:20 2017        
(r325100)
+++ head/sys/geom/mountver/g_mountver.c Sun Oct 29 12:03:06 2017        
(r325101)
@@ -257,7 +257,7 @@ g_mountver_create(struct gctl_req *req, struct g_class
        }
        gp = g_new_geomf(mp, "%s", name);
        sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO);
-       mtx_init(&sc->sc_mtx, "gmountver", NULL, MTX_RECURSE);
+       mtx_init(&sc->sc_mtx, "gmountver", NULL, MTX_DEF | MTX_RECURSE);
        TAILQ_INIT(&sc->sc_queue);
        sc->sc_provider_name = strdup(pp->name, M_GEOM);
        gp->softc = sc;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to