PERFORCE change 113280 for review
Todd Miller
millert at FreeBSD.org
Sun Jan 21 22:39:03 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=113280
Change 113280 by millert at millert_macbook on 2007/01/21 22:32:55
In __mac_mount(), if the copyinstr() fails jump to out1
instead of just returning--we need the vnode_put() and
nameidone() calls for proper cleanup
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_syscalls.c#19 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_syscalls.c#19 (text+ko) ====
@@ -248,7 +248,7 @@
error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy);
if (error)
- return (error);
+ goto out1;
if (uap->flags & MNT_UPDATE) {
if ((vp->v_flag & VROOT) == 0) {
More information about the trustedbsd-cvs
mailing list