Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167060398
D35036.id105354.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
584 B
Referenced Files
None
Subscribers
None
D35036.id105354.diff
View Options
Index: sys/geom/geom_vfs.c
===================================================================
--- sys/geom/geom_vfs.c
+++ 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
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 8:20 PM (21 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36956983
Default Alt Text
D35036.id105354.diff (584 B)
Attached To
Mode
D35036: geom_vfs: make sc_orphaned and sc_enxio_active bools
Attached
Detach File
Event Timeline
Log In to Comment