Date: Tue, 7 Jan 2003 06:30:42 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 23339 for review Message-ID: <200301071430.h07EUgTB088558@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301071430.h07EUgTB088558>