From fb8871ec2e37e193955c4688c3f08ecfeb202eea Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Sun, 30 Jun 2002 07:39:12 +0000 Subject: [PATCH] linux-fix-readdir-hinting-20020630 an earlier patch erroneously removed this --- src/afs/LINUX/osi_vnodeops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 9bb463b4a..7879e82bd 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; -- 2.39.5