Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/cd9660/cd9660_vnops.c
Show First 20 Lines • Show All 570 Lines • ▼ Show 20 Lines | while (idp->curroff < endsearch) { | ||||
if (isonum_711(ep->flags)&2) | if (isonum_711(ep->flags)&2) | ||||
idp->current.d_fileno = isodirino(ep, imp); | idp->current.d_fileno = isodirino(ep, imp); | ||||
else | else | ||||
idp->current.d_fileno = dbtob(bp->b_blkno) + | idp->current.d_fileno = dbtob(bp->b_blkno) + | ||||
entryoffsetinblock; | entryoffsetinblock; | ||||
idp->curroff += reclen; | idp->curroff += reclen; | ||||
/* NOTE: d_off is the offset of *next* entry. */ | |||||
idp->current.d_off = idp->curroff; | |||||
switch (imp->iso_ftype) { | switch (imp->iso_ftype) { | ||||
case ISO_FTYPE_RRIP: | case ISO_FTYPE_RRIP: | ||||
ino = idp->current.d_fileno; | ino = idp->current.d_fileno; | ||||
cd9660_rrip_getname(ep, idp->current.d_name, &namelen, | cd9660_rrip_getname(ep, idp->current.d_name, &namelen, | ||||
&ino, imp); | &ino, imp); | ||||
idp->current.d_fileno = ino; | idp->current.d_fileno = ino; | ||||
idp->current.d_namlen = (u_char)namelen; | idp->current.d_namlen = (u_char)namelen; | ||||
▲ Show 20 Lines • Show All 335 Lines • Show Last 20 Lines |