diff options
Diffstat (limited to 'fs/sync.c')
-rw-r--r-- | fs/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, | |||
229 | !S_ISLNK(i_mode)) | 229 | !S_ISLNK(i_mode)) |
230 | goto out_put; | 230 | goto out_put; |
231 | 231 | ||
232 | ret = do_sync_file_range(file, offset, endbyte, flags); | 232 | ret = do_sync_mapping_range(file->f_mapping, offset, endbyte, flags); |
233 | out_put: | 233 | out_put: |
234 | fput_light(file, fput_needed); | 234 | fput_light(file, fput_needed); |
235 | out: | 235 | out: |