Subject: CVS commit: src/libexec/lfs_cleanerd
To: None <source-changes@NetBSD.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 04/14/2006 00:58:32
Module Name:	src
Committed By:	perseant
Date:		Fri Apr 14 00:58:32 UTC 2006

Modified Files:
	src/libexec/lfs_cleanerd: lfs_cleanerd.c

Log Message:
When checking hidden cleaning costs, don't erroneously add the first
indirect block when considering the cleaning of block numbers less
than NDADDR (which do not use indirect blocks).

Also, note the loss of only half a block per segment to fragmentation
when considering the benefit function, rather than a whole block.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/libexec/lfs_cleanerd/lfs_cleanerd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.