HPFS: Implement fsync for hpfs

Implement fsync for hpfs.

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Mikulas Patocka and committed by Linus Torvalds bc8728ee dab4c82a

+2 -2
+2 -2
fs/hpfs/file.c
··· 20 21 int hpfs_file_fsync(struct file *file, int datasync) 22 { 23 - /*return file_fsync(file, datasync);*/ 24 - return 0; /* Don't fsync :-) */ 25 } 26 27 /*
··· 20 21 int hpfs_file_fsync(struct file *file, int datasync) 22 { 23 + struct inode *inode = file->f_mapping->host; 24 + return sync_blockdev(inode->i_sb->s_bdev); 25 } 26 27 /*