Page MenuHomeFreeBSD

D58858.diff
No OneTemporary

D58858.diff

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

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)

Event Timeline