mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
page cache rewrite
This commit is contained in:
@@ -19,9 +19,7 @@ syscallret_t syscall_fsync(context_t *context, int fd) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
VOP_LOCK(file->vnode);
|
||||
ret.errno = VOP_SYNC(file->vnode);
|
||||
VOP_UNLOCK(file->vnode);
|
||||
|
||||
fd_release(file);
|
||||
ret.ret = ret.errno ? -1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user