summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-12 03:06:56 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-12 03:06:56 +0000
commit1ee11199963034918134473035e0401509258461 (patch)
tree56c90f6eb311a194b65b6cd8ca297da1e14dcc79 /sys/scsi/sd.c
parent2163925a12b34eb2ee6d9efc4e3dd8a019630d21 (diff)
From Kirk McKusick:
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.
Diffstat (limited to 'sys/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions