diff options
Diffstat (limited to 'fs/hppfs/hppfs.c')
-rw-r--r-- | fs/hppfs/hppfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 85c098a499f3..8635be5ffd97 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c | |||
@@ -573,9 +573,10 @@ static int hppfs_readdir(struct file *file, void *ent, filldir_t filldir) | |||
573 | return err; | 573 | return err; |
574 | } | 574 | } |
575 | 575 | ||
576 | static int hppfs_fsync(struct file *file, int datasync) | 576 | static int hppfs_fsync(struct file *file, loff_t start, loff_t end, |
577 | int datasync) | ||
577 | { | 578 | { |
578 | return 0; | 579 | return filemap_write_and_wait_range(file->f_mapping, start, end); |
579 | } | 580 | } |
580 | 581 | ||
581 | static const struct file_operations hppfs_dir_fops = { | 582 | static const struct file_operations hppfs_dir_fops = { |