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
This commit is contained in:
Edward Tomasz Napierala 2017-10-29 12:03:06 +00:00
parent c19b1a6a08
commit 338ed98ad2

View File

@ -257,7 +257,7 @@ g_mountver_create(struct gctl_req *req, struct g_class *mp, struct g_provider *p
}
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;