Diff for /src/sys/vfs/isofs/cd9660/cd9660_lookup.c between versions 1.9 and 1.10

version 1.9, 2004/03/01 06:33:21 version 1.10, 2004/04/02 05:46:03
Line 95  cd9660_lookup(ap) Line 95  cd9660_lookup(ap)
         } */ *ap;          } */ *ap;
 {  {
         struct vnode *vdp;      /* vnode for directory being searched */          struct vnode *vdp;      /* vnode for directory being searched */
           globaldata_t gd = mycpu;
         struct iso_node *dp;    /* inode for directory being searched */          struct iso_node *dp;    /* inode for directory being searched */
         struct iso_mnt *imp;    /* file system that directory is in */          struct iso_mnt *imp;    /* file system that directory is in */
         struct buf *bp;                 /* a buffer of directory entries */          struct buf *bp;                 /* a buffer of directory entries */
Line 170  cd9660_lookup(ap) Line 171  cd9660_lookup(ap)
                     (error = cd9660_blkatoff(vdp, (off_t)dp->i_offset, NULL, &bp)))                      (error = cd9660_blkatoff(vdp, (off_t)dp->i_offset, NULL, &bp)))
                                 return (error);                                  return (error);
                 numdirpasses = 2;                  numdirpasses = 2;
                nchstats.ncs_2passes++;                gd->gd_nchstats->ncs_2passes++;
         }          }
         endsearch = dp->i_size;          endsearch = dp->i_size;
                   
Line 317  notfound: Line 318  notfound:
   
 found:  found:
         if (numdirpasses == 2)          if (numdirpasses == 2)
                nchstats.ncs_pass2++;                gd->gd_nchstats->ncs_pass2++;
                   
         /*          /*
          * Found component in pathname.           * Found component in pathname.

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