linux-fix-readdir-hinting-20020630
authorChas Williams <chas@cmf.nrl.navy.mil>
Sun, 30 Jun 2002 07:39:12 +0000 (07:39 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 30 Jun 2002 07:39:12 +0000 (07:39 +0000)
an earlier patch erroneously removed this

src/afs/LINUX/osi_vnodeops.c

index 9bb463b..7879e82 100644 (file)
@@ -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;