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:
parent
c19b1a6a08
commit
338ed98ad2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user