Made directories indeterminitely sized in FAT
authorJohn Hodge <[email protected]>
Sat, 26 Sep 2009 02:02:39 +0000 (10:02 +0800)
committerJohn Hodge <[email protected]>
Sat, 26 Sep 2009 02:02:39 +0000 (10:02 +0800)
Kernel/vfs/fs/fat.c

index dd5e851..87b5d87 100644 (file)
@@ -527,6 +527,7 @@ tVFS_Node *FAT_int_CreateNode(tVFS_Node *parent, fat_filetable *ft, char *LongFi
                node.ReadDir = FAT_ReadDir;\r
                node.FindDir = FAT_FindDir;\r
                node.MkNod = FAT_Mknod;\r
+               node.Size = -1;\r
        } else {\r
                node.Read = FAT_Read;\r
                node.Write = FAT_Write;\r

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