make buildkernel KERNCONF errors...

David Wolfskill david at catwhisker.org
Tue Jan 13 12:56:05 PST 2004


Arrggh...  I got so used to -STABLE being, well, "stable" that I sent the
patch to fix this off to -current instead of -stable.  Sorry....  :-(

Anyway, this worked for me on 2 machines, but I don't actually use
unionfs on either one:

Index: sys/miscfs/union/union_vnops.c
===================================================================
RCS file: /cvs/freebsd/src/sys/miscfs/union/Attic/union_vnops.c,v
retrieving revision 1.72.2.2
diff -u -r1.72.2.2 union_vnops.c
--- sys/miscfs/union/union_vnops.c	13 Jan 2004 06:51:55 -0000	1.72.2.2
+++ sys/miscfs/union/union_vnops.c	13 Jan 2004 14:02:09 -0000
@@ -595,7 +595,7 @@
 		 */
 		if (*ap->a_vpp != dvp) {
 			if (!lockparent || (cnp->cn_flags & ISLASTCN) == 0)
-				VOP_UNLOCK(dvp, 0, td);
+				VOP_UNLOCK(dvp, 0, p);
 		}
 
 		if (cnp->cn_namelen == 1 &&


And copying a note from my misdirected post:

["td" is a "struct *thread", from KSE.  What's defined earlier in the
source is "struct *proc p".]

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
If you want true virus-protection for your PC, install a non-Microsoft OS
on it.  Plausible candidates include FreeBSD, Linux, NetBSD, OpenBSD, and
Solaris (in alphabetical order).


More information about the freebsd-stable mailing list