Page MenuHomeFreeBSD

D35036.diff
No OneTemporary

D35036.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
Fri, Feb 14, 5:03 AM (9 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16637768
Default Alt Text
D35036.diff (549 B)

Event Timeline