AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
sync.c
Go to the documentation of this file.
1
6
7#include <core/system.h>
8#include <fs/vfs.h>
9#include <aquila/errno.h>
10
18int vfs_vsync(struct vnode *vnode, int mode)
19{
20 return -ENOTSUP;
21}
22
31int vfs_fssync(struct vnode *super, int mode)
32{
33 return -ENOTSUP;
34}
35
43int vfs_sync(int mode)
44{
45 return -ENOTSUP;
46}
A file in memory (a vnode): what its inode says, and the kernel's own state.
Definition vfs.h:113
int vfs_sync(int mode)
Would write every filesystem's data and metadata to its disk.
Definition sync.c:43
int vfs_vsync(struct vnode *vnode, int mode)
Would write a vnode's data and metadata to its disk.
Definition sync.c:18
int vfs_fssync(struct vnode *super, int mode)
Would write a filesystem's data and metadata to its disk.
Definition sync.c:31