PERFORCE change 15271 for review

Robert Watson rwatson at freebsd.org
Wed Jul 31 02:59:29 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15271

Change 15271 by rwatson at rwatson_paprika on 2002/07/30 19:58:30

	Remove dup mac_init_vnode() due to integ.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/vfs_subr.c#31 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/vfs_subr.c#31 (text+ko) ====

@@ -54,7 +54,6 @@
 #include <sys/fcntl.h>
 #include <sys/kernel.h>
 #include <sys/kthread.h>
-#include <sys/mac.h>
 #include <sys/malloc.h>
 #include <sys/mac.h>
 #include <sys/mount.h>
@@ -832,10 +831,6 @@
 	vp->v_type = VNON;
 	vp->v_tag = tag;
 	vp->v_op = vops;
-#ifdef MAC
-	/* Initialize before it goes anywhere much. */
-	mac_init_vnode(vp);
-#endif
 	lockinit(&vp->v_lock, PVFS, "vnlock", VLKTIMEOUT, LK_NOPAUSE);
 #ifdef MAC
 	mac_init_vnode(vp);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list