Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2007 22:33:29 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 113280 for review
Message-ID:  <200701212233.l0LMXTgK062409@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113280

Change 113280 by millert@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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701212233.l0LMXTgK062409>