From owner-freebsd-current@FreeBSD.ORG Fri Nov 16 16:45:50 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6C6716A418 for ; Fri, 16 Nov 2007 16:45:50 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mx.egr.msu.edu (surfnturf.egr.msu.edu [35.9.37.164]) by mx1.freebsd.org (Postfix) with ESMTP id 5645E13C47E for ; Fri, 16 Nov 2007 16:45:50 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from localhost (localhost.egr.msu.edu [127.0.0.1]) by mx.egr.msu.edu (Postfix) with ESMTP id AC4682EB86C; Fri, 16 Nov 2007 11:45:49 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mx.egr.msu.edu ([127.0.0.1]) by localhost (surfnturf.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GC6mfjLXtNvg; Fri, 16 Nov 2007 11:45:49 -0500 (EST) Received: from localhost (daemon.egr.msu.edu [35.9.44.65]) by mx.egr.msu.edu (Postfix) with ESMTP id 813992EB853; Fri, 16 Nov 2007 11:45:49 -0500 (EST) Received: by localhost (Postfix, from userid 21281) id 7910C33C22; Fri, 16 Nov 2007 11:45:49 -0500 (EST) Date: Fri, 16 Nov 2007 11:45:49 -0500 From: Adam McDougall To: Robert Watson Message-ID: <20071116164549.GF37473@egr.msu.edu> References: <698405.85667.qm@web31809.mail.mud.yahoo.com> <20071116143239.U10677@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071116143239.U10677@fledge.watson.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Timo Sirainen , freebsd-current@FreeBSD.org, Mohan Srinivasan , mohans@FreeBSD.org Subject: Re: link() not increasing link count on NFS server 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, 16 Nov 2007 16:45:50 -0000 On Fri, Nov 16, 2007 at 02:37:56PM +0000, Robert Watson wrote: OK, I've attached an initial patch that does this -- we still need to keep the lookup code for NFSv2, where the file handle of the new node isn't returned with the reply, but I drop the EEXIST handling cases. Does this look reasonable to you? I'm not set up to easily test this scenario, however. Robert N M Watson I should be able to test this patch (or a later version) this weekend.