Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2003 12:43:43 -0800 (PST)
From:      Chris Vance <cvance@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 43432 for review
Message-ID:  <200312042043.hB4KhhfX040197@repoman.freebsd.org>

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

Change 43432 by cvance@cvance_sony on 2003/12/04 12:43:19

	Patch up mis-integ. This code really doesn't want to be here anymore.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#27 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#27 (text+ko) ====

@@ -888,25 +888,7 @@
 sebsd_create_root_mount(struct ucred *cred, struct mount *mp,
     struct label *mntlabel, struct label *fslabel)
 {
-	struct vnode *vp, *nvp;
 
-	/*
-	 * Go through all open vnodes and reload their labels.
-	 */
-	mtx_lock(&mntvnode_mtx);
-	vp = TAILQ_FIRST(&mp->mnt_nvnodelist);
-	do {
-		nvp = TAILQ_NEXT(vp, v_nmntvnodes);
-		VI_LOCK(vp);
-		mtx_unlock(&mntvnode_mtx);
-		vn_lock(vp, LK_INTERLOCK | LK_EXCLUSIVE | LK_RETRY, curthread);
-		(void)sebsd_associate_vnode_extattr(mp, fslabel, vp,
-		    vp->v_label);
-		VOP_UNLOCK(vp, 0, curthread);
-		mtx_lock(&mntvnode_mtx);
-		vp = nvp;
-	} while (vp != NULL);
-	mtx_unlock(&mntvnode_mtx);
 }
 
 static int



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