diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-07-28 21:16:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-28 21:46:05 -0700 |
commit | a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8 (patch) | |
tree | 88387f513bb2c09b7195117b1d7bbf389dab5d52 /fs/hostfs/hostfs.h | |
parent | 30f417c65e151dc96998a8ef721149a43998bc65 (diff) | |
download | lwn-a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8.tar.gz lwn-a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8.zip |
[PATCH] uml: implement hostfs syncing
Actually implement the hostfs "sync" method.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/hostfs/hostfs.h')
-rw-r--r-- | fs/hostfs/hostfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hostfs/hostfs.h b/fs/hostfs/hostfs.h index c1516d013bf6..67bca0d4a33b 100644 --- a/fs/hostfs/hostfs.h +++ b/fs/hostfs/hostfs.h @@ -69,6 +69,7 @@ extern int read_file(int fd, unsigned long long *offset, char *buf, int len); extern int write_file(int fd, unsigned long long *offset, const char *buf, int len); extern int lseek_file(int fd, long long offset, int whence); +extern int fsync_file(int fd, int datasync); extern int file_create(char *name, int ur, int uw, int ux, int gr, int gw, int gx, int or, int ow, int ox); extern int set_attr(const char *file, struct hostfs_iattr *attrs); |