aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sync.c')
-rw-r--r--fs/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sync.c b/fs/sync.c
index 5cb9e7e43383..2f97576355b8 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -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);
233out_put: 233out_put:
234 fput_light(file, fput_needed); 234 fput_light(file, fput_needed);
235out: 235out: