summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/inode.c
AgeCommit message (Collapse)Author
1999-08-06uid_t and gid_t, and use %uTheo de Raadt
1997-10-11Never involve negative numbers in unsigned expressions. Fixes a segfault someNiklas Hallqvist
bad fs images triggers.
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-06-25(foo *)0 -> NULLkstailey
1997-06-22Avoid an overflow when checking inode numbers; from FreeBSD PR #3528 byThorsten Lockert
Ian Dowse <iedowse@maths.tcd.ie>
1996-10-20Sync with NetBSD 961019Thorsten Lockert
1996-10-12From Kirk McKusick:Thorsten Lockert
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.
1996-06-23update rcsidTheo de Raadt
1996-05-28be more carefulTheo de Raadt
1995-12-18use ufs_daddr_t; another time_t cleanupTheo de Raadt
1995-12-16handle time_t things that really are not time_tTheo de Raadt
1995-11-13time_t typecast; from bernd@arresum.inka.de; netbsd pr#1724Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt