diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-09-21 05:54:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-09-21 05:54:00 +0000 |
commit | d0ad0a80a68654e0dbe15977db4b5d447106f5fa (patch) | |
tree | 0d186babe587ee6ac2c1015d72dc8e1b098dfc12 /sysdeps/unix/sysv/linux/internal_statvfs.c | |
parent | 6f6867815c549cbbaa6808f88172bc22670f7a4f (diff) | |
download | glibc-d0ad0a80a68654e0dbe15977db4b5d447106f5fa.tar.gz glibc-d0ad0a80a68654e0dbe15977db4b5d447106f5fa.tar.xz glibc-d0ad0a80a68654e0dbe15977db4b5d447106f5fa.zip |
Update.
* 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/internal_statvfs.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/internal_statvfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/internal_statvfs.c b/sysdeps/unix/sysv/linux/internal_statvfs.c index ed9dbaaa0e..744c8d9fd6 100644 --- a/sysdeps/unix/sysv/linux/internal_statvfs.c +++ b/sysdeps/unix/sysv/linux/internal_statvfs.c @@ -64,6 +64,9 @@ { char tmpbuf[1024]; + /* No locking needed. */ + (void) __fsetlocking (mtab, FSETLOCKING_BYCALLER); + while (__getmntent_r (mtab, &mntbuf, tmpbuf, sizeof (tmpbuf))) { struct stat64 fsst; |