Date: Sun, 21 Jan 2007 22:43:50 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 113294 for review Message-ID: <200701212243.l0LMhocE066333@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113294 Change 113294 by millert@millert_macbook on 2007/01/21 22:43:44 Use stashed copy of ucred instead of needlessly calling vfs_context_ucred(). Affected files ... .. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_cache.c#5 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_cache.c#5 (text+ko) ==== @@ -670,7 +670,7 @@ * be perfomed in lookup(). */ if (!(cnp->cn_flags & DONOTAUTH)) { - error = mac_vnode_check_lookup(vfs_context_ucred(context), dp, cnp); + error = mac_vnode_check_lookup(ucred, dp, cnp); if (error) { name_cache_unlock(); return (error);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701212243.l0LMhocE066333>