Page MenuHomeFreeBSD

D35036.id105372.diff
No OneTemporary

D35036.id105372.diff

diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c
--- a/sys/geom/geom_vfs.c
+++ b/sys/geom/geom_vfs.c
@@ -55,7 +55,7 @@
struct bufobj *sc_bo;
struct g_event *sc_event;
int sc_active;
- int sc_orphaned;
+ bool sc_orphaned;
int sc_enxio_active;
};
@@ -233,7 +233,7 @@
event = g_alloc_event(M_WAITOK);
mtx_lock(&sc->sc_mtx);
KASSERT(sc->sc_event == NULL, ("g_vfs %p already has an event", sc));
- sc->sc_orphaned = 1;
+ sc->sc_orphaned = true;
destroy = (sc->sc_active == 0);
if (!destroy) {
sc->sc_event = event;

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 17, 10:13 AM (7 h, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39071242
Default Alt Text
D35036.id105372.diff (549 B)

Event Timeline