Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107792089
D32761.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
471 B
Referenced Files
None
Subscribers
None
D32761.diff
View Options
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
@@ -302,12 +302,16 @@
{
struct g_geom *gp;
struct g_vfs_softc *sc;
+ struct vnode *vp;
g_topology_assert();
gp = cp->geom;
sc = gp->softc;
+ vp = cp->private;
+ vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
bufobj_invalbuf(sc->sc_bo, V_SAVE, 0, 0);
+ VOP_UNLOCK(vp);
sc->sc_bo->bo_private = cp->private;
gp->softc = NULL;
mtx_destroy(&sc->sc_mtx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 5:48 AM (1 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15927791
Default Alt Text
D32761.diff (471 B)
Attached To
Mode
D32761: DEBUG_VFS_LOCKS: stop excluding devfs and doomed vnode from asserts
Attached
Detach File
Event Timeline
Log In to Comment