fs: add ksys_fallocate() wrapper; remove in-kernel calls to sys_fallocate()
[linux-block.git] / arch / x86 / ia32 / sys_ia32.c
index c08c25f73d792c82bb809e1e24bec5d5aa77371c..df2acb13623f12968ccc1f33ac7a96db5264782b 100644 (file)
@@ -226,8 +226,8 @@ COMPAT_SYSCALL_DEFINE6(x86_fallocate, int, fd, int, mode,
                       unsigned int, offset_lo, unsigned int, offset_hi,
                       unsigned int, len_lo, unsigned int, len_hi)
 {
-       return sys_fallocate(fd, mode, ((u64)offset_hi << 32) | offset_lo,
-                            ((u64)len_hi << 32) | len_lo);
+       return ksys_fallocate(fd, mode, ((u64)offset_hi << 32) | offset_lo,
+                             ((u64)len_hi << 32) | len_lo);
 }
 
 /*