Date: Tue, 13 Jan 2004 06:13:38 -0800 (PST) From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Cc: das@freebsd.org Subject: [Patch] fix for unionfs comile problem Message-ID: <200401131413.i0DEDcFx009322@bunrab.catwhisker.org>
next in thread | raw e-mail | index | archive | help
Looks as if the MFC for union_vnops.c needs a tiny bit of help:
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 &&
["td" is a "struct *thread", from KSE. What's defined earlier in the
source is "struct *proc p".]
Note: I do not actually *use* unionfs on this system, but it does
compile:
freebeast(4.9-S)[1] uname -a
FreeBSD freebeast.catwhisker.org 4.9-STABLE FreeBSD 4.9-STABLE #779: Tue Jan 13 05:34:51 PST 2004 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/FREEBEAST i386
freebeast(4.9-S)[2]
Peace,
david
--
David H. Wolfskill david@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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401131413.i0DEDcFx009322>
