Re: [RFC][PATCH] sys_fallocate() system call

Paul Mackerras
2007-03-17T10:33:37Z

Heiko Carstens writes:

> So you either rearrange the parameters or convert the loff_t's to pointers.
>
> e.g.
>
> asmlinkage long sys_fallocate(int fd, loff_t offset, loff_t len, int mode)
>
> would work even on s390 ;)

... but wouldn't work on 32-bit powerpc. :( We would end up with a
pad argument between fd and offset, giving 7 arguments in all
(counting the loff_t's as 2), but we only support 6.

Paul.