diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-06-26 20:47:11 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-24 19:18:41 -0500 |
commit | ecf02f4e8a2766d47cb7d637e7f8cb255ba7065b (patch) | |
tree | 624a661d9232f4ded62e676e630762deaa5ac2f5 /include | |
parent | 9f52c17eb20dafc8f7e93b3cd276a09a919b1384 (diff) | |
download | musl-ecf02f4e8a2766d47cb7d637e7f8cb255ba7065b.tar.gz musl-ecf02f4e8a2766d47cb7d637e7f8cb255ba7065b.tar.bz2 musl-ecf02f4e8a2766d47cb7d637e7f8cb255ba7065b.tar.xz musl-ecf02f4e8a2766d47cb7d637e7f8cb255ba7065b.zip |
add MS_LAZYTIME mount option to sys/mount.h
new in linux 4.0 commit 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8,
used to update atime/mtime/ctime only in memory when possible.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/mount.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/mount.h b/include/sys/mount.h index 1e1907f4..6674e657 100644 --- a/include/sys/mount.h +++ b/include/sys/mount.h @@ -46,12 +46,13 @@ extern "C" { #define MS_KERNMOUNT (1<<22) #define MS_I_VERSION (1<<23) #define MS_STRICTATIME (1<<24) +#define MS_LAZYTIME (1<<25) #define MS_NOSEC (1<<28) #define MS_BORN (1<<29) #define MS_ACTIVE (1<<30) #define MS_NOUSER (1U<<31) -#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION) +#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME) #define MS_MGC_VAL 0xc0ed0000 #define MS_MGC_MSK 0xffff0000 |