mirror of
https://github.com/drasko/codezero.git
synced 2026-01-22 07:43:21 +01:00
Added syscall to update filestats (size) from pager.
After flushing written/truncated pages, stats are updated so that vfs is synced with new file info such as its size.
This commit is contained in:
@@ -18,4 +18,7 @@ int pager_sys_read(l4id_t sender, unsigned long vnum, unsigned long f_offset,
|
||||
|
||||
int pager_sys_write(l4id_t sender, unsigned long vnum, unsigned long f_offset,
|
||||
unsigned long npages, void *pagebuf);
|
||||
|
||||
int pager_update_stats(l4id_t sender, unsigned long vnum,
|
||||
unsigned long newsize);
|
||||
#endif /* __FS0_SYSCALLS_H__ */
|
||||
|
||||
Reference in New Issue
Block a user