diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-07 17:43:02 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-11 08:00:48 -0300 |
commit | 1566d3c43f12a02cca140ae25777c3c196de7795 (patch) | |
tree | bf56c88a5520b33be6a91551731ef182ffbe8966 /sysdeps/unix/sysv/linux/statvfs.c | |
parent | 52f527d6f1e880027e37c422b3ce4f2b12c8ef7d (diff) | |
download | glibc-1566d3c43f12a02cca140ae25777c3c196de7795.tar glibc-1566d3c43f12a02cca140ae25777c3c196de7795.tar.gz glibc-1566d3c43f12a02cca140ae25777c3c196de7795.tar.bz2 glibc-1566d3c43f12a02cca140ae25777c3c196de7795.zip |
linux: Consolidate internal_statvfs
Remove the internal_statvfs64.c and open code the implementation
on internal_statvfs.c. The alpha is now unrequired, the generic
implementation also handles it.
Also, remove unused includes on internal_statvfs.c, and remove
unused arguments on __internal_statvfs{64}.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/statvfs.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/statvfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/statvfs.c b/sysdeps/unix/sysv/linux/statvfs.c index f165899711..210242b9a0 100644 --- a/sysdeps/unix/sysv/linux/statvfs.c +++ b/sysdeps/unix/sysv/linux/statvfs.c @@ -33,7 +33,7 @@ __statvfs (const char *file, struct statvfs *buf) return -1; /* Convert the result. */ - __internal_statvfs (file, buf, &fsbuf, -1); + __internal_statvfs (buf, &fsbuf); /* We signal success if the statfs call succeeded. */ return 0; |