[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>
This commit is contained in:
committed by
Linus Torvalds
parent
30f417c65e
commit
a2d76bd8fa
@ -382,7 +382,7 @@ int hostfs_file_open(struct inode *ino, struct file *file)
|
||||
|
||||
int hostfs_fsync(struct file *file, struct dentry *dentry, int datasync)
|
||||
{
|
||||
return(0);
|
||||
return fsync_file(HOSTFS_I(dentry->d_inode)->fd, datasync);
|
||||
}
|
||||
|
||||
static struct file_operations hostfs_file_fops = {
|
||||
|
Reference in New Issue
Block a user