Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2003 08:56:57 -0800 (PST)
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 40679 for review
Message-ID:  <200310281656.h9SGuv0u017182@repoman.freebsd.org>

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

Change 40679 by areisse@areisse_ibook on 2003/10/28 08:56:28

	you don't need to free nameidata on darwin

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#22 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#22 (text+ko) ====

@@ -1793,7 +1793,7 @@
 	int error;
 	static int count = 0;
 
-	if (++count < 100)
+	if (++count < 10)
 		printf("MAC:mac_check_vnode_lookup\n");
 
 	ASSERT_VOP_LOCKED(dvp, "mac_check_vnode_lookup");
@@ -3779,8 +3779,6 @@
 	    mac.m_buflen, M_WAITOK);
 
 	vput (nd.ni_vp);
-	FREE_ZONE(nd.ni_cnd.cn_pnbuf, nd.ni_cnd.cn_pnlen, M_NAMEI);
-
 	mac_destroy_vnode_label(&intlabel);
 
 	if (error == 0)



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