VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Mark Fasheh <mark.fasheh@oracle.com> 2007-05-08 00:27:10 -0700 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-05-08 11:15:04 -0700 commit: ef51c97623b94f51e439ac91d2736aab3d1b6594 parent: 524e6752912a891a396a9cf74c5d7d60fff5510a
Commit Summary:
Remove do_sync_file_range()
Diffstat:
1 file changed, 1 insertion, 1 deletion
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,
 			!S_ISLNK(i_mode))
 		goto out_put;
 
-	ret = do_sync_file_range(file, offset, endbyte, flags);
+	ret = do_sync_mapping_range(file->f_mapping, offset, endbyte, flags);
 out_put:
 	fput_light(file, fput_needed);
 out: