fs: add ksys_fallocate() wrapper; remove in-kernel calls to sys_fallocate()
[linux-block.git] / arch / powerpc / kernel / sys_ppc32.c
index 36a651e6e03322f50a07b423af164eda6ebffae2..68f11e1065f87849ca0b72798849520f15a7061b 100644 (file)
@@ -100,7 +100,7 @@ asmlinkage int compat_sys_truncate64(const char __user * path, u32 reg4,
 asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo,
                                     u32 lenhi, u32 lenlo)
 {
-       return sys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo,
+       return ksys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo,
                             ((loff_t)lenhi << 32) | lenlo);
 }