PERFORCE change 23339 for review
Brian Feldman
green at freebsd.org
Tue Jan 7 14:30:42 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=23339
Change 23339 by green at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list