diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-10-25 03:37:12 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-10-25 03:37:12 +0000 |
commit | 33406468d829d2075bc998acebec1f13c67b09a5 (patch) | |
tree | 232517fa205ff987e5bb7284c94807f034b4552b /ufs-fsck/inode.c | |
parent | 0b3c259a64c6ae0130a81e7a682024b21baf1bba (diff) |
entered into RCS
Diffstat (limited to 'ufs-fsck/inode.c')
-rw-r--r-- | ufs-fsck/inode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ufs-fsck/inode.c b/ufs-fsck/inode.c index c10906ff..afb8b1a4 100644 --- a/ufs-fsck/inode.c +++ b/ufs-fsck/inode.c @@ -50,6 +50,9 @@ inode_iterate (struct dinode *dp, readblock (fsbtodb (sblock, iblock), ptrs, sblock->fs_bsize); for (i = 0; i < NINDIR (sblock); i++) { + if (!ptrs[i]) + continue; + if (level == 0) { cont = (*fn)(ptrs[i], sblock->fs_frag, totaloffset); |