PERFORCE change 42171 for review

Robert Watson rwatson at FreeBSD.org
Wed Nov 12 22:13:02 GMT 2003


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

Change 42171 by rwatson at rwatson_tislabs on 2003/11/12 14:12:14

	Slide Giant even further: not required for label externalization.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#432 edit

Differences ...

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

@@ -757,9 +757,9 @@
 		vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td);
 		mac_copy_vnode_label(vp->v_label, intlabel);
 		VOP_UNLOCK(vp, 0, td);
+		mtx_unlock(&Giant);				/* VFS */
 		error = mac_externalize_vnode_label(intlabel, elements,
 		    buffer, mac.m_buflen);
-		mtx_unlock(&Giant);				/* VFS */
 		mac_vnode_label_free(intlabel);
 		break;
 	case DTYPE_PIPE:
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