bugfix: OFD:FLAGS
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
/*
|
||||
* lseek:更新 of->offset(非 O_APPEND fd)。
|
||||
* lseek:更新 daemon handle 上的共享 offset。
|
||||
*
|
||||
* truncate / ftruncate:
|
||||
* 更新 inode->logical_size,同步 st_size(ftruncate 到真实 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__
|
||||
|
||||
Reference in New Issue
Block a user