1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME.

* sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
	Handle relatime mount option.
This commit is contained in:
Ulrich Drepper
2006-12-14 05:41:07 +00:00
parent 1e88bd0f1b
commit 1cc444baba
3 changed files with 11 additions and 3 deletions

View File

@ -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. */
};