Subject: CVS commit: src/sbin/fsck_ffs
To: None <source-changes@NetBSD.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 10/08/2004 17:33:53
Module Name:	src
Committed By:	dbj
Date:		Fri Oct  8 17:33:53 UTC 2004

Modified Files:
	src/sbin/fsck_ffs: inode.c

Log Message:
when allocating inodes, such as for the lost+found directory,
extend the inostat array if needed.  Otherwise, inoinfo() will
return the static "unallocated" inode template, which was
getting improperly modified.
Before this fix, any time the lost+found directory got created,
fsck would set all of the inode/directory counts wrong since
suddenly unallocated inodes would turn into directory inodes


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 src/sbin/fsck_ffs/inode.c

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