Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 10/11/1996 20:20:01
thorpej
Fri Oct 11 13:15:49 PDT 1996
Update of /cvsroot/src/sbin/fsck_ffs
In directory netbsd1:/var/slash-tmp/cvs-serv21897

Modified Files:
	fsck.h inode.c main.c 
Log Message:
Bug fix from Kirk McKusick <mckusick@McKusick.COM>:

Fix a bug in fsck_ffs where if a directory somehow develops a hole
(that is a block pointer that has a value of zero), fsck would give the
filesystem a clean bill of health, but the kernel would panic when
accessing the directory with the hole. Fsck now checks for holes
in directories.  If found in preen mode, fsck fails.  In manual
mode, it can be directed to shorten the directory to the beginning of
the hole. A  more complete solution would be to allocate a block to fill
the hole. However, this is a lot more work for a `cannot happen' error,
so the extra effort seems unwarranted.


thorpej
Fri Oct 11 13:15:50 PDT 1996
Update of /cvsroot/src/sbin/fsck_ffs/SMM.doc
In directory netbsd1:/var/slash-tmp/cvs-serv21897/SMM.doc

Modified Files:
	3.t 
Log Message:
Bug fix from Kirk McKusick <mckusick@McKusick.COM>:

Fix a bug in fsck_ffs where if a directory somehow develops a hole
(that is a block pointer that has a value of zero), fsck would give the
filesystem a clean bill of health, but the kernel would panic when
accessing the directory with the hole. Fsck now checks for holes
in directories.  If found in preen mode, fsck fails.  In manual
mode, it can be directed to shorten the directory to the beginning of
the hole. A  more complete solution would be to allocate a block to fill
the hole. However, this is a lot more work for a `cannot happen' error,
so the extra effort seems unwarranted.