PERFORCE change 75417 for review

Wayne Salamon wsalamon at FreeBSD.org
Sun Apr 17 21:33:05 GMT 2005


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

Change 75417 by wsalamon at rickenbacker on 2005/04/17 21:32:55

	Cleanup; remove cruft left over from debugging code.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#20 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#20 (text+ko) ====

@@ -328,8 +328,6 @@
 	struct vattr vattr;
 	struct statfs *mnt_stat = &vp->v_mount->mnt_stat;
 
-static int ctr = 0;
-
 	mtx_assert(&Giant, MA_OWNED);
 
 	/*
@@ -341,15 +339,11 @@
 	 */
 	ret = VFS_STATFS(vp->v_mount, mnt_stat, td);
 	if (ret)
-{
 		goto out;
-}
 
 	ret = VOP_GETATTR(vp, &vattr, cred, td);
 	if (ret)
-{
 		goto out;
-}
 
 	/* update the global stats struct */
 	audit_fstat.af_currsz = vattr.va_size; 
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