This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/15132] stat/fstat called unnecessarily for statvfs/fstatvfs


https://sourceware.org/bugzilla/show_bug.cgi?id=15132

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  26b0d2e1a1606da10c4dc4e109d7b9f2d92aab6a (commit)
      from  0d3b7a190c3abbdce27d4b0b9f16517bf5664099 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=26b0d2e1a1606da10c4dc4e109d7b9f2d92aab6a

commit 26b0d2e1a1606da10c4dc4e109d7b9f2d92aab6a
Author: Eric Wong <normalperson@yhbt.net>
Date:   Thu May 29 09:41:29 2014 +0530

    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.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                  |   16 ++++++++++++++++
 NEWS                                       |   20 ++++++++++----------
 sysdeps/unix/sysv/linux/fstatvfs.c         |    4 ++--
 sysdeps/unix/sysv/linux/fstatvfs64.c       |   10 +++-------
 sysdeps/unix/sysv/linux/internal_statvfs.c |   15 ++++++++-------
 sysdeps/unix/sysv/linux/statvfs.c          |    6 ++----
 sysdeps/unix/sysv/linux/statvfs64.c        |   10 +++-------
 7 files changed, 44 insertions(+), 37 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]