author: Christoph Hellwig <hch@lst.de> 2010-05-26 17:53:41 +0200
committer: Al Viro <viro@zeniv.linux.org.uk> 2010-05-27 22:06:06 -0400
commit: 1b061d9247f71cd15edc4c4c4600191a903642c0
parent: 7ea8085910ef3dd4f3cad6845aaa2b580d39b115
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 29a576944374..8c13b8acfd2f 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -154,7 +154,7 @@ int fat_file_fsync(struct file *filp, int datasync)
struct inode *inode = filp->f_mapping->host;
int res, err;
- res = simple_fsync(filp, datasync);
+ res = generic_file_fsync(filp, datasync);
err = sync_mapping_buffers(MSDOS_SB(inode->i_sb)->fat_inode->i_mapping);
return res ? res : err;