about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/fstatvfs.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-07 17:43:02 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-11 08:00:48 -0300
commit1566d3c43f12a02cca140ae25777c3c196de7795 (patch)
treebf56c88a5520b33be6a91551731ef182ffbe8966 /sysdeps/unix/sysv/linux/fstatvfs.c
parent52f527d6f1e880027e37c422b3ce4f2b12c8ef7d (diff)
downloadglibc-1566d3c43f12a02cca140ae25777c3c196de7795.tar.gz
glibc-1566d3c43f12a02cca140ae25777c3c196de7795.tar.xz
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/fstatvfs.c')
-rw-r--r--sysdeps/unix/sysv/linux/fstatvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/fstatvfs.c b/sysdeps/unix/sysv/linux/fstatvfs.c
index 0f56a13ca9..ba3fd22cfb 100644
--- a/sysdeps/unix/sysv/linux/fstatvfs.c
+++ b/sysdeps/unix/sysv/linux/fstatvfs.c
@@ -33,7 +33,7 @@ __fstatvfs (int fd, struct statvfs *buf)
     return -1;
 
   /* Convert the result.  */
-  __internal_statvfs (NULL, buf, &fsbuf, fd);
+  __internal_statvfs (buf, &fsbuf);
 
   /* We signal success if the statfs call succeeded.  */
   return 0;