Re: [PATCH] syscalls: fix offset type of ksys_ftruncate

2020-06-10 Thread Brian Gerst
On Wed, Jun 10, 2020 at 7:48 AM Jiri Slaby wrote: > > After the commit below, truncate on i586 uses ksys_ftruncate. But > ksys_ftruncate truncates the offset to unsigned long. So switch the type > of offset to loff_t which is what the lower do_sys_ftruncate expects. > > Signed-off-by: Jiri Slaby

[PATCH] syscalls: fix offset type of ksys_ftruncate

2020-06-10 Thread Jiri Slaby
After the commit below, truncate on i586 uses ksys_ftruncate. But ksys_ftruncate truncates the offset to unsigned long. So switch the type of offset to loff_t which is what the lower do_sys_ftruncate expects. Signed-off-by: Jiri Slaby Fixes: 121b32a58a3a (x86/entry/32: Use IA32-specific wrappers