]> Pileus Git - ~andy/linux/blobdiff - fs/hostfs/hostfs_kern.c
[PATCH] uml: implement hostfs syncing
[~andy/linux] / fs / hostfs / hostfs_kern.c
index 88e68caa378467192109254f389febfb47ec725f..b2d18200a003f0feb8cdd41fb7ad9cb0ed18dc15 100644 (file)
@@ -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 = {