1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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>
This commit is contained in:
Adhemerval Zanella
2021-02-07 17:43:02 +00:00
parent 52f527d6f1
commit 1566d3c43f
9 changed files with 59 additions and 40 deletions

View File

@ -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;