Andrew Morton writes: > On Wed, 11 Jul 2007 09:27:40 +1000 > Paul Mackerras <[EMAIL PROTECTED]> wrote: > > > We did come up with an order that worked for everybody, but that > > discussion seemed to get totally ignored by the ext4 developers. > > It was a long discussion. > > Can someone please remind us what the signature of the syscall > (and the compat handler) should be?
long sys_fallocate(loff_t offset, loff_t len, int fd, int mode) should work for everybody. The compat handler would be long compat_sys_fallocate(u32 offset_hi, u32 offset_lo, u32 len_hi, u32 len_lo, int fd, int mode) for big-endian, or swap hi/lo for little-endian. (Actually it would be good to have an arch-dependent "stitch two args together" macro and call them offset_0, offset_1 etc.) Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/