]> sourceware.org Git - glibc.git/commit
linux: Fix STATFS_IS_STATFS64 definition
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 5 Feb 2021 14:55:45 +0000 (14:55 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 Feb 2021 10:57:57 +0000 (07:57 -0300)
commit4b221ec9eebb53571b6e95dceb9d31c98b073a9f
treefed63905b0fced2692a125db2d47a5f7e017f6e5
parent228f30ab4724d4087d5f52018873fde22efea6e2
linux: Fix STATFS_IS_STATFS64 definition

aarch64, arc, ia64, mips64, powerpc64, riscv32, riscv64, s390x, sparc64,
and x86_64 defines STATFS_IS_STATFS64 to 0, but all of them alias
statfs to statfs64 and the struct statfs has the same and layout of
struct statfs64.

The correct definition will be used on the [f]statfs[64] consolidation.

This patch does not change code generation since the symbols are
implemented using the auto-generation syscall for all the aforementioned
ABIs.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/aarch64/kernel_stat.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/ia64/kernel_stat.h
sysdeps/unix/sysv/linux/mips/kernel_stat.h
sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h
sysdeps/unix/sysv/linux/riscv/kernel_stat.h
sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h
sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
sysdeps/unix/sysv/linux/x86_64/kernel_stat.h
This page took 0.047105 seconds and 5 git commands to generate.