Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174330102
D58858.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
D58858.diff
View Options
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -2252,17 +2252,6 @@
lvp_locked = true;
}
- /*
- * During unmount, the root vnode lock may be taken recursively,
- * because it may share the same v_vnlock field as the vnode covered by
- * the unionfs mount. The covered vnode is locked across VFS_UNMOUNT(),
- * and the same lock may be taken recursively here during vflush()
- * issued by unionfs_unmount().
- */
- if ((flags & LK_TYPE_MASK) == LK_EXCLUSIVE &&
- (vp->v_vflag & VV_ROOT) != 0)
- flags |= LK_CANRECURSE;
-
vholdnz(tvp);
VI_UNLOCK(vp);
error = VOP_LOCK(tvp, flags);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 11:04 AM (11 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37116773
Default Alt Text
D58858.diff (703 B)
Attached To
Mode
D58858: unionfs_lock(): eliminate LK_CANRECURSE special-case
Attached
Detach File
Event Timeline
Log In to Comment