From owner-freebsd-current@FreeBSD.ORG Fri Oct 24 16:09:05 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68B9C106566B for ; Fri, 24 Oct 2008 16:09:05 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.190]) by mx1.freebsd.org (Postfix) with ESMTP id E3FAB8FC0C for ; Fri, 24 Oct 2008 16:09:04 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so138922gve.39 for ; Fri, 24 Oct 2008 09:09:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=aZHXKTIwzijCXCHXBZ25t8tyTX6jKs58PB+DJSGGv/o=; b=Vb91OzwvbQBmTRZwPtKwB/45UwUIOp0Jnf8GnC2tnMSncDCq9Zoc5JNGVwRfCN32gM gt+9/lGPDOi296xETZasEqiZlFE5jP4obqQlsTdEdgy5r/4hj2gnNwZ8TC/iuBiELEvH OBG5GN7xkRw3O4SY/TMMIFMOSN3nwgHM14xbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=c2w7QKzO81i6PoiGvXV7ie2x/IL+7n3PGcSSavwiO7Wkt2OPmwzhGBYhMEUrCUi9PN t85cIh4zoeApH3t/7gcNrZTBmHoiuihBzDLBKeEPs9GYYOsh5oI8f2g8kzjDottPpzIT JIYCxzChzn1OdXV7oFM81A+BMwImUU1TrUvR4= Received: by 10.102.234.18 with SMTP id g18mr1130294muh.105.1224864543382; Fri, 24 Oct 2008 09:09:03 -0700 (PDT) Received: by 10.103.239.14 with HTTP; Fri, 24 Oct 2008 09:09:03 -0700 (PDT) Message-ID: <3bbf2fe10810240909g7db456ddxf6a28e76b10b563d@mail.gmail.com> Date: Fri, 24 Oct 2008 18:09:03 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Ian FREISLICH" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3bbf2fe10810201303y54d1d611ibf94b1c60fcefaef@mail.gmail.com> X-Google-Sender-Auth: 71dc034538b7bc01 Cc: current@freebsd.org Subject: Re: PATCH: vinvalbuf(9), fusefs-kmod X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 16:09:05 -0000 2008/10/24 Ian FREISLICH : > "Attilio Rao" wrote: >> 2008/10/20, Ian Freislich : >> > Hi >> > >> > It appears that vinvalbuf() has changed, but the manual page has >> > not been updated. Also, after this change, sysutils/fusefs-kmod >> > doesn't compile. These patches address both issues. >> >> Sorry for the late action, but I updated manpage and bumped >> __FreeBSD_version so that ports maintainers can deal with that. > > The man page is not correct: > > SYNOPSIS > #include > #include > > int > vinvalbuf(struct vnode *vp, int flags, struct ucred *cred, int slpflag, > int slptimeo); > > Yet, sys/vnode.h: > int vinvalbuf(struct vnode *vp, int save, int slpflag, int slptimeo); > > struct ucred *cred is not a parameter to this function like the > manual page suggests. Right I will fix it ASAP. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein