* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>.
* sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid
locking when using mount tab file.
+ * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
+ * sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>.
+ * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
* elf/dl-init.c (_dl_init): Fix test of the size of the
preinit_array section.
#include <errno.h>
#include <mntent.h>
#include <paths.h>
+#include <stdio_ext.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/stat.h>
{
char tmpbuf[1024];
+ /* No locking needed. */
+ (void) __fsetlocking (mtab, FSETLOCKING_BYCALLER);
+
while (__getmntent_r (mtab, &mntbuf, tmpbuf, sizeof (tmpbuf)))
{
struct stat64 fsst;
#include <errno.h>
#include <mntent.h>
#include <paths.h>
+#include <stdio_ext.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/stat.h>