diff options
| -rw-r--r-- | fs/hpfs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c index 09a642f853e1..89c500ee5213 100644 --- a/fs/hpfs/file.c +++ b/fs/hpfs/file.c | |||
| @@ -20,8 +20,8 @@ static int hpfs_file_release(struct inode *inode, struct file *file) | |||
| 20 | 20 | ||
| 21 | int hpfs_file_fsync(struct file *file, int datasync) | 21 | int hpfs_file_fsync(struct file *file, int datasync) |
| 22 | { | 22 | { |
| 23 | /*return file_fsync(file, datasync);*/ | 23 | struct inode *inode = file->f_mapping->host; |
| 24 | return 0; /* Don't fsync :-) */ | 24 | return sync_blockdev(inode->i_sb->s_bdev); |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | /* | 27 | /* |
