Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173340607
D59985.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
361 B
Referenced Files
None
Subscribers
None
D59985.diff
View Options
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c
--- a/sys/geom/eli/g_eli.c
+++ b/sys/geom/eli/g_eli.c
@@ -830,6 +830,8 @@
g_topology_assert();
gp = arg;
+ if (gp->softc == NULL)
+ return;
strlcpy(gpname, gp->name, sizeof(gpname));
error = g_eli_destroy(gp->softc, TRUE);
KASSERT(error == 0, ("Cannot detach %s on last close (error=%d).",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 8:18 AM (2 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39599392
Default Alt Text
D59985.diff (361 B)
Attached To
Mode
D59985: geli: Avoid destroying a destroyed geli geom in g_eli_last_close()
Attached
Detach File
Event Timeline
Log In to Comment