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/bits | |
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/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/statvfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/statvfs.h b/sysdeps/unix/sysv/linux/bits/statvfs.h index cca0871ac0..84717c3d96 100644 --- a/sysdeps/unix/sysv/linux/bits/statvfs.h +++ b/sysdeps/unix/sysv/linux/bits/statvfs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1997,1998,2000,2001,2002,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -101,7 +101,9 @@ enum # define ST_IMMUTABLE ST_IMMUTABLE ST_NOATIME = 1024, /* Do not update access times. */ # define ST_NOATIME ST_NOATIME - ST_NODIRATIME = 2048 /* Do not update directory access times. */ + ST_NODIRATIME = 2048, /* Do not update directory access times. */ # define ST_NODIRATIME ST_NODIRATIME + ST_RELATIME = 4096 /* Update atime relative to mtime/ctime. */ +# define ST_RELATIME ST_RELATIME #endif /* Use GNU. */ }; |