From owner-freebsd-current@FreeBSD.ORG Tue Jun 5 14:10:08 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17B5A106566B; Tue, 5 Jun 2012 14:10:08 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C41B68FC08; Tue, 5 Jun 2012 14:10:06 +0000 (UTC) Received: from [89.204.130.15] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SbuSS-0007Ql-8y; Tue, 05 Jun 2012 16:10:05 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q55EA2WA002293; Tue, 5 Jun 2012 16:10:02 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q55EA15x002292; Tue, 5 Jun 2012 16:10:01 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 5 Jun 2012 16:10:01 +0200 From: Matthias Apitz To: John Baldwin , swills@freebsd.org, freebsd-current@freebsd.org Message-ID: <20120605141000.GA2284@tiny> References: <20120526142229.GA3893@tinyCurrent> <201205311134.55258.jhb@freebsd.org> <20120605132750.GA2122@tiny> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120605132750.GA2122@tiny> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.15 Cc: Subject: Re: 10-CURRENT r235646 && open-vm-tools-8.6.0-425873 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 14:10:08 -0000 El día Tuesday, June 05, 2012 a las 03:27:51PM +0200, Matthias Apitz escribió: > cc -O2 -pipe -Wall -Werror -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/lib/include -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/shared -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmblock -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/shared/vmblock -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c vnops.c > vnops.c: In function 'VMBlockVopInactive': > vnops.c:1373: error: too many arguments to function 'vrecycle' > *** [vnops.o] Error code 1 > got it finally compiled and installed as # make install WITHOUT_FUSE=yes with this additional patch: *** modules/freebsd/vmblock/vnops.c.orig Wed Sep 21 20:25:15 2011 --- modules/freebsd/vmblock/vnops.c Tue Jun 5 16:01:45 2012 *************** *** 1362,1368 **** */ { struct vnode *vp = ap->a_vp; - struct thread *td = ap->a_td; vp->v_object = NULL; --- 1362,1367 ---- *************** *** 1370,1376 **** * If this is the last reference, then free up the vnode so as not to * tie up the lower vnode. */ ! vrecycle(vp, td); return 0; } --- 1369,1375 ---- * If this is the last reference, then free up the vnode so as not to * tie up the lower vnode. */ ! vrecycle(vp); return 0; } -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5