Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 19:59:29 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15271 for review
Message-ID:  <200207310259.g6V2xTU5031717@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15271

Change 15271 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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