fs: add ksys_sync_file_range helper(); remove in-kernel calls to syscall
[linux-block.git] / arch / x86 / ia32 / sys_ia32.c
index 1979e5b4ad9a1271d49f251b556bc3feb4a4d99f..0c5f8932c136b188ab30c313a847cc147dcd519e 100644 (file)
@@ -209,9 +209,9 @@ COMPAT_SYSCALL_DEFINE6(x86_sync_file_range, int, fd, unsigned int, off_low,
                       unsigned int, off_hi, unsigned int, n_low,
                       unsigned int, n_hi, int, flags)
 {
-       return sys_sync_file_range(fd,
-                                  ((u64)off_hi << 32) | off_low,
-                                  ((u64)n_hi << 32) | n_low, flags);
+       return ksys_sync_file_range(fd,
+                                   ((u64)off_hi << 32) | off_low,
+                                   ((u64)n_hi << 32) | n_low, flags);
 }
 
 COMPAT_SYSCALL_DEFINE5(x86_fadvise64, int, fd, unsigned int, offset_lo,