Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 01/09/2001 07:39:28
Module Name:	basesrc
Committed By:	mycroft
Date:		Tue Jan  9 05:39:27 UTC 2001

Modified Files:
	basesrc/sbin/fsck_ffs: setup.c

Log Message:
Try to cope with cs_ndir being wacky (too large or, particularly when using -b,
too damn small) by setting a minimum (1024) and maximum (maxino + 1).  This
prevents certain operations getting REALLY slow when -b is used, and also
avoids overallocating memory if the superblock is hosed.


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 basesrc/sbin/fsck_ffs/setup.c

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