[RFC PATCH 2/3] ARM64: ILP32: use __fsword_t in generic/bits/statfs.h

Chris Metcalf cmetcalf@ezchip.com
Thu Mar 19 16:40:00 GMT 2015


On 03/18/2015 06:30 AM, Zhang Jian(Bamvor) wrote:
> From: Yang Yingliang<yangyingliang@huawei.com>
>
> Use __fsword_t to make size of struct statfs equal in userspace and kernel.
>
> Signed-off-by: Yang Yingliang<yangyingliang@huawei.com>
> ---
>   sysdeps/unix/sysv/linux/generic/bits/statfs.h | 24 ++++++++++++------------
>   1 file changed, 12 insertions(+), 12 deletions(-)

I don't object to this patch as a cleanup (to match the types used in 
the base Linux statfs.h), but can you tell me why this makes a 
difference to you?  On what asm-generic platform does __SWORD_TYPE != 
__fsword_t ?  My earlier analysis a few minutes ago suggested that was 
true only for alpha and x32, neither of which use the linux/generic code 
in glibc.

-- 
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com



More information about the Libc-alpha mailing list