bugfix: OFD:FLAGS

This commit is contained in:
2026-04-14 07:40:56 +00:00
parent ea64511f95
commit 15d6a90e2f
19 changed files with 1030 additions and 160 deletions

View File

@@ -5,7 +5,7 @@
#include <unistd.h>
/*
* lseek更新 of->offset非 O_APPEND fd
* lseek更新 daemon handle 上的共享 offset
*
* truncate / ftruncate
* 更新 inode->logical_size同步 st_sizeftruncate 到真实 fd
@@ -30,4 +30,4 @@ int ftruncate64(int fd, off_t length);
int fallocate(int fd, int mode, off_t offset, off_t len);
int posix_fallocate(int fd, off_t offset, off_t len);
#endif // __ZVFS_HOOK_SEEK_H__
#endif // __ZVFS_HOOK_SEEK_H__