implement fdatasync
Change-Id: I2aefc1acebce93a2c53a6d3be5eef3b9e69480ec Reviewed-on: https://review.haiku-os.org/c/haiku/+/8507 Tested-by: Commit checker robot <[email protected]> Reviewed-by: nephele nephele <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
258fce50e0
commit
8e086795b2
@@ -165,7 +165,7 @@ struct fssh_fs_vnode_ops {
|
||||
fssh_fs_cookie cookie, uint8_t event, fssh_selectsync *sync);
|
||||
fssh_status_t (*deselect)(fssh_fs_volume *volume, fssh_fs_vnode *vnode,
|
||||
fssh_fs_cookie cookie, uint8_t event, fssh_selectsync *sync);
|
||||
fssh_status_t (*fsync)(fssh_fs_volume *volume, fssh_fs_vnode *vnode);
|
||||
fssh_status_t (*fsync)(fssh_fs_volume *volume, fssh_fs_vnode *vnode, bool dataOnly);
|
||||
|
||||
fssh_status_t (*read_symlink)(fssh_fs_volume *volume, fssh_fs_vnode *link,
|
||||
char *buffer, fssh_size_t *_bufferSize);
|
||||
|
||||
@@ -185,7 +185,7 @@ int _user_open_dir_entry_ref(dev_t device, ino_t inode,
|
||||
int _user_open_dir(int fd, const char *path);
|
||||
int _user_open_parent_dir(int fd, char *name, size_t nameLength);
|
||||
status_t _user_fcntl(int fd, int op, size_t argument);
|
||||
status_t _user_fsync(int fd);
|
||||
status_t _user_fsync(int fd, bool dataOnly);
|
||||
status_t _user_flock(int fd, int op);
|
||||
status_t _user_read_stat(int fd, const char *path, bool traverseLink,
|
||||
struct stat *stat, size_t statSize);
|
||||
|
||||
@@ -278,7 +278,7 @@ extern int _kern_open_dir(int fd, const char *path);
|
||||
extern int _kern_open_parent_dir(int fd, char *name,
|
||||
size_t nameLength);
|
||||
extern status_t _kern_fcntl(int fd, int op, size_t argument);
|
||||
extern status_t _kern_fsync(int fd);
|
||||
extern status_t _kern_fsync(int fd, bool dataOnly);
|
||||
extern status_t _kern_flock(int fd, int op);
|
||||
extern off_t _kern_seek(int fd, off_t pos, int seekType);
|
||||
extern status_t _kern_create_dir_entry_ref(dev_t device, ino_t inode,
|
||||
|
||||
Reference in New Issue
Block a user