Diff for /src/sys/vfs/gnu/ext2fs/ext2_lookup.c between versions 1.10 and 1.11

version 1.10, 2004/04/02 05:46:03 version 1.11, 2004/04/02 10:50:23
Line 378  ext2_lookup(ap) Line 378  ext2_lookup(ap)
                     (error = UFS_BLKATOFF(vdp, (off_t)dp->i_offset, NULL, &bp)))                      (error = UFS_BLKATOFF(vdp, (off_t)dp->i_offset, NULL, &bp)))
                         return (error);                          return (error);
                 numdirpasses = 2;                  numdirpasses = 2;
                gd->gd_nchstats.ncs_2passes++;                gd->gd_nchstats->ncs_2passes++;
         }          }
         prevoff = dp->i_offset;          prevoff = dp->i_offset;
         endsearch = roundup(dp->i_size, DIRBLKSIZ);          endsearch = roundup(dp->i_size, DIRBLKSIZ);
Line 552  searchloop: Line 552  searchloop:
   
 found:  found:
         if (numdirpasses == 2)          if (numdirpasses == 2)
                gd->gd_nchstats.ncs_pass2++;                gd->gd_nchstats->ncs_pass2++;
         /*          /*
          * Check that directory length properly reflects presence           * Check that directory length properly reflects presence
          * of this entry.           * of this entry.

Removed from v.1.10  
changed lines
  Added in v.1.11