PERFORCE change 113280 for review

[ Available lists | Index of p4-projects | Month of Jan 2007 | Week of 21 Jan 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Todd Miller <millert@FreeBSD.org>
Date
21 Jan 2007 22:33:32
Subject
PERFORCE change 113280 for review
Message-ID
200701212233.l0LMXTgK062409@repoman.freebsd.org


[ Hide this part ]
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) {


Elapsed time: 0.063 seconds