From owner-freebsd-hackers Sat Jan 12 16:56:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 6E27D37B41D for ; Sat, 12 Jan 2002 16:56:25 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 13 Jan 2002 00:56:24 +0000 (GMT) To: Matthew Dillon Cc: Alfred Perlstein , "Alan L. Cox" , FreeBSD-hackers@FreeBSD.ORG Subject: Re: Need review of NFS patch set for server .. missing/wrong vput() issues In-Reply-To: Your message of "Sun, 13 Jan 2002 00:43:40 GMT." <200201130043.aa90380@salmon.maths.tcd.ie> Date: Sun, 13 Jan 2002 00:56:24 +0000 From: Ian Dowse Message-ID: <200201130056.aa91209@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200201130043.aa90380@salmon.maths.tcd.ie>, Ian Dowse writes: >I don't think this is necessary, because the cleanup code at the >end of nfsrv_mknod() catches any cases where nd.ni_vp was not >released earlier. It would be harmless to add it though. Oops, I missed a 'return (0);' when reading the code. You're quite correct here; the first part of the patch looks correct, and could certainly cause vput's to be forgotten. I'll try to reproduce this now. It's just the vp == dvp stuff that is ok as it is. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message