PERFORCE change 42089 for review

Robert Watson rwatson at FreeBSD.org
Wed Nov 12 03:45:48 GMT 2003


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

Change 42089 by rwatson at rwatson_paprika on 2003/11/11 19:44:49

	Make sure to drop Giant if operation in the VFS section fails.

Affected files ...

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

Differences ...

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

@@ -943,6 +943,7 @@
 		error = vn_start_write(vp, &mp, V_WAIT | PCATCH);
 		if (error != 0) {
 			mac_vnode_label_free(intlabel);
+			mtx_unlock(&Giant);			/* VFS */
 			break;
 		}
 
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