mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
vfs: properly sync metadata
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
|
||||
syscallret_t syscall_sync(context_t *) {
|
||||
syscallret_t ret = {0};
|
||||
mm_cache_sync();
|
||||
ret.errno = vfs_sync();
|
||||
ret.ret = ret.errno ? -1 : 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user