diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-12-14 05:41:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-12-14 05:41:07 +0000 |
commit | 1cc444baba3d085154c7a75a058cefc86c2ffce7 (patch) | |
tree | d3d2f3f41eaca937a197a0fcb3d9a189017df6ee /sysdeps/unix/sysv/linux/internal_statvfs.c | |
parent | 1e88bd0f1b62bd58f283241877a0b3e66e199e76 (diff) | |
download | glibc-1cc444baba3d085154c7a75a058cefc86c2ffce7.tar.gz glibc-1cc444baba3d085154c7a75a058cefc86c2ffce7.tar.xz glibc-1cc444baba3d085154c7a75a058cefc86c2ffce7.zip |
* sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. cvs/fedora-glibc-20061214T0850
* sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): Handle relatime mount option.
Diffstat (limited to 'sysdeps/unix/sysv/linux/internal_statvfs.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/internal_statvfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/internal_statvfs.c b/sysdeps/unix/sysv/linux/internal_statvfs.c index 73317ecafd..28c1cb691f 100644 --- a/sysdeps/unix/sysv/linux/internal_statvfs.c +++ b/sysdeps/unix/sysv/linux/internal_statvfs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2003, 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 1998-2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -156,6 +156,8 @@ __statvfs_getflags (const char *name, int fstype, struct stat64 *st) result |= ST_NOATIME; else if (strcmp (opt, "nodiratime") == 0) result |= ST_NODIRATIME; + else if (strcmp (opt, "relatime") == 0) + result |= ST_RELATIME; /* We can stop looking for more entries. */ success = true; |