Avoid stat/fstat in statvfs/fstatvfs (BZ #15132)
commit26b0d2e1a1606da10c4dc4e109d7b9f2d92aab6a
authorEric Wong <normalperson@yhbt.net>
Thu, 29 May 2014 04:11:29 +0000 (29 09:41 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 29 May 2014 04:11:29 +0000 (29 09:41 +0530)
tree80f00460ffda84fa25dae201b40c5442646cf213
parent0d3b7a190c3abbdce27d4b0b9f16517bf5664099
Avoid stat/fstat in statvfs/fstatvfs (BZ #15132)

Delay the use of stat/fstat until stat data is required.  When the
kernel returns ST_VALID, stat data is not used by __internal_statvfs.
ChangeLog
NEWS
sysdeps/unix/sysv/linux/fstatvfs.c
sysdeps/unix/sysv/linux/fstatvfs64.c
sysdeps/unix/sysv/linux/internal_statvfs.c
sysdeps/unix/sysv/linux/statvfs.c
sysdeps/unix/sysv/linux/statvfs64.c