summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-11-13 03:01:58 +0000
committerdougb <dougb@FreeBSD.org>2011-11-13 03:01:58 +0000
commit9d00c3ae5660b9ceb7d40f15a8fa88fe3414dc30 (patch)
tree69a6cf4d52fd346ebadca1fb48e60a606bd6293b /sys/kern/vfs_default.c
parent2c9fd688ffe7082186ee2e70a137bda8fc4413c0 (diff)
downloadFreeBSD-src-9d00c3ae5660b9ceb7d40f15a8fa88fe3414dc30.zip
FreeBSD-src-9d00c3ae5660b9ceb7d40f15a8fa88fe3414dc30.tar.gz
The default setting, daily_accounting_compress="NO", was causing
only 1 old file to be saved, so fix this. Problem raised in the PR, but actually required a different solution. While I'm here, fix a very old off-by-one error causing 1 more file than specified in daily_accounting_save to be saved because acct.0 was not taken into account (pun intended). Change that, and use a more thorough method of finding old files to delete. Partly just because this is the right thing to do, but also to silently fix the extra log that would have been left behind forever with the previous method. PR: conf/160848 Submitted by: Andrey Zonov <andrey@zonov.org>
Diffstat (limited to 'sys/kern/vfs_default.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud