Add a "syncd" kernel process that periodically calls sync().

This commit is contained in:
Andreas Kling
2018-12-20 02:41:55 +01:00
parent ed7ae6c02c
commit 89040cdc99
3 changed files with 13 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ void initialize()
kprintf("syscall: int 0x80 handler installed\n");
}
static int sync()
int sync()
{
VFS::the().sync();
return 0;