PERFORCE change 14842 for review

Robert Watson rwatson at freebsd.org
Wed Jul 24 15:38:45 GMT 2002


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

Change 14842 by rwatson at rwatson_paprika on 2002/07/24 08:38:04

	If you lock a vnode, please be sure to unlock it.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/vfs_vnops.c#27 edit

Differences ...

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

@@ -790,6 +790,7 @@
 #ifdef MAC
 	vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td);
 	error = mac_cred_check_vnode_op(cred, vp, MAC_OP_VNODE_POLL);
+	VOP_UNLOCK(vp, 0, td);
 	if (error)
 		return (error);
 #endif
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