PERFORCE change 113294 for review

Todd Miller millert at FreeBSD.org
Sun Jan 21 22:45:36 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113294

Change 113294 by millert at 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);


More information about the trustedbsd-cvs mailing list