Modules/EXT2 - Working on write support
[tpg/acess2.git] / KernelLand / Modules / Filesystems / Ext2 / write.c
index 60b176c..22e256b 100644 (file)
@@ -119,7 +119,12 @@ addBlocks:
        }
        base = block * disk->BlockSize;
        VFS_WriteAt(disk->FD, base, retLen, Buffer);
+       
+       // TODO: When should the size update be committed?
        inode.i_size += retLen;
+       Node->Size += retLen;
+       Node->Flags |= VFS_FFLAG_DIRTY;
+       
        retLen = 0;
 
 ret:   // Makes sure the changes to the inode are committed

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