vfs: properly sync metadata

This commit is contained in:
Matheus
2026-09-14 10:05:18 -03:00
parent f0dc54e027
commit 3eaca91ff1
5 changed files with 26 additions and 2 deletions
+2 -1
View File
@@ -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;
}