summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-03-10 18:15:02 +0000
committerrwatson <rwatson@FreeBSD.org>2008-03-10 18:15:02 +0000
commitbaba1ffed6eeff9eb701f9a2af08967c67f520ff (patch)
tree96dfdd8ecfed528bd3cf858c9b1dcfa1d65c2d57 /sys/security
parent0356f3517f1d5dd6c3982cba9e499b12575502f3 (diff)
downloadFreeBSD-src-baba1ffed6eeff9eb701f9a2af08967c67f520ff.zip
FreeBSD-src-baba1ffed6eeff9eb701f9a2af08967c67f520ff.tar.gz
Remove XXX to remind me to check the free space calculation, which to my
eyes appears right following a check. MFC after: 3 days
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/audit/audit_worker.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/security/audit/audit_worker.c b/sys/security/audit/audit_worker.c
index 6bff3e7..27e5342 100644
--- a/sys/security/audit/audit_worker.c
+++ b/sys/security/audit/audit_worker.c
@@ -170,9 +170,6 @@ audit_record_write(struct vnode *vp, struct ucred *cred, void *data,
* are limited to 1/sec.
*/
if (audit_qctrl.aq_minfree != 0) {
- /*
- * XXXAUDIT: Check math and block size calculations here.
- */
temp = mnt_stat->f_blocks / (100 / audit_qctrl.aq_minfree);
if (mnt_stat->f_bfree < temp) {
if (ppsratecheck(&last_lowspace_trigger,
OpenPOWER on IntegriCloud