Kernel/VFS - Disabled use of .Size in directories
authorJohn Hodge <[email protected]>
Sun, 23 Jun 2013 06:46:36 +0000 (14:46 +0800)
committerJohn Hodge <[email protected]>
Sun, 23 Jun 2013 06:46:36 +0000 (14:46 +0800)
KernelLand/Kernel/vfs/dir.c

index cd45121..2417539 100644 (file)
@@ -178,10 +178,12 @@ int VFS_ReadDir(int FD, char *Dest)
                return 0;
        }
        
+       #if 0
        if(h->Node->Size != (Uint64)-1 && h->Position >= h->Node->Size) {
                //LEAVE('i', 0);
                return 0;
        }
+       #endif
        
        do {
                rv = h->Node->Type->ReadDir(h->Node, h->Position, Dest);

UCC git Repository :: git.ucc.asn.au