From owner-p4-projects Tue Jan 7 6:30:45 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A14F737B405; Tue, 7 Jan 2003 06:30:43 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C7EF37B401 for ; Tue, 7 Jan 2003 06:30:43 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D907843EA9 for ; Tue, 7 Jan 2003 06:30:42 -0800 (PST) (envelope-from green@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h07EUgfh088574 for ; Tue, 7 Jan 2003 06:30:42 -0800 (PST) (envelope-from green@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h07EUgTB088558 for perforce@freebsd.org; Tue, 7 Jan 2003 06:30:42 -0800 (PST) Date: Tue, 7 Jan 2003 06:30:42 -0800 (PST) Message-Id: <200301071430.h07EUgTB088558@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to green@freebsd.org using -f From: Brian Feldman Subject: PERFORCE change 23339 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=23339 Change 23339 by green@green_laptop_2 on 2003/01/07 06:30:11 Correct vn_open.*() so that nameidata.ni_vp is reset to NULL upon failure before returning. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/vfs_vnops.c#58 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/vfs_vnops.c#58 (text+ko) ==== @@ -276,6 +276,7 @@ NDFREE(ndp, NDF_ONLY_PNBUF); vput(vp); *flagp = fmode; + ndp->ni_vp = NULL; return (error); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message