From: Chas Williams Date: Sun, 30 Jun 2002 07:39:12 +0000 (+0000) Subject: linux-fix-readdir-hinting-20020630 X-Git-Tag: openafs-devel_1_3_3~83 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=fb8871ec2e37e193955c4688c3f08ecfeb202eea linux-fix-readdir-hinting-20020630 an earlier patch erroneously removed this --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 9bb463b..7879e82 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -354,6 +354,7 @@ tagain: afid.Fid.Unique=ntohl(de->fid.vunique); if ((avc->states & CForeign) == 0 && (ntohl(de->fid.vnode) & 1)) { + type=DT_DIR; } else if ((tvc=afs_FindVCache(&afid,0,0,0,0))) { if (tvc->mvstat) { type=DT_DIR;