freebsd-dev/sys/fs/unionfs
KATO Takenori 6db918e371 Fix `lockmgr: locking against myself' panic by multi union mount of
same directory pair.

If we do:
    mount -t union a b
    mount -t union a b
then, (1) namei tries to lock fs which has been already locked by
first union mount and (2) union_root() tries to lock locked fs.  To
avoid first deadlock condition, unlock vnode if lowerrootvp is union
node, and to avoid second case, union_mount returns EDEADLK when multi
union mount is detected.
1997-04-14 10:52:25 +00:00
..
union_subr.c The path name buffer, cn->cn_pnbuf, is FREEed by VOP_MKDIR when 1997-04-13 06:27:09 +00:00
union_vfsops.c Fix `lockmgr: locking against myself' panic by multi union mount of 1997-04-14 10:52:25 +00:00
union_vnops.c Fix locking violation when accessing `..'. 1997-04-14 05:13:55 +00:00
union.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00