Date: Tue, 20 Jan 1998 02:02:56 -0800 (PST) From: KATO Takenori <kato@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/miscfs/union union.h union_subr.c union_vnops.c Message-ID: <199801201002.CAA01009@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kato 1998/01/20 02:02:56 PST
Modified files:
sys/miscfs/union union.h union_subr.c union_vnops.c
Log:
- Move SETKLOC and CLEARKLOCK macros into uion.h.
- Set UN_ULOCK in union_lock() when UN_KLOCK is set. Caller expects
that vnode is locked correctly, and may call another function which
expects locked vnode and may unlock the vnode.
- Do not assume the behavior of inside functions in FreeBSD's
vfs_suber.c is same as 4.4BSD-Lite2. Vnode may be locked in
vget() even though flag is zero. (Locked vnode is, of course,
unlocked before returning from vget.)
Revision Changes Path
1.10 +4 -1 src/sys/miscfs/union/union.h
1.24 +18 -1 src/sys/miscfs/union/union_subr.c
1.49 +11 -8 src/sys/miscfs/union/union_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801201002.CAA01009>
