diff options
author | Karel Zak | 2015-03-30 12:43:45 +0200 |
---|---|---|
committer | Karel Zak | 2015-03-30 12:43:45 +0200 |
commit | 8c7f073aaeaad3ab9b1775447306776056bf50b8 (patch) | |
tree | 56b7a22576e8e45a7654122b034f2870574f8046 /libmount/src/optmap.c | |
parent | setarch: fix regression for sparc builds (diff) | |
download | kernel-qcow2-util-linux-8c7f073aaeaad3ab9b1775447306776056bf50b8.tar.gz kernel-qcow2-util-linux-8c7f073aaeaad3ab9b1775447306776056bf50b8.tar.xz kernel-qcow2-util-linux-8c7f073aaeaad3ab9b1775447306776056bf50b8.zip |
libmount: add support for MS_LAZYTIME
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/optmap.c')
-rw-r--r-- | libmount/src/optmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmount/src/optmap.c b/libmount/src/optmap.c index 5b25b8f29..3ad77273e 100644 --- a/libmount/src/optmap.c +++ b/libmount/src/optmap.c @@ -113,6 +113,10 @@ static const struct libmnt_optmap linux_flags_map[] = { "strictatime", MS_STRICTATIME }, /* Strict atime semantics */ { "nostrictatime", MS_STRICTATIME, MNT_INVERT }, /* kernel default atime */ #endif +#ifdef MS_LAZYTIME + { "lazytime", MS_LAZYTIME }, /* Update {a,m,c}time on the in-memory inode only */ + { "nolazytime", MS_LAZYTIME, MNT_INVERT }, +#endif #ifdef MS_PROPAGATION { "unbindable", MS_UNBINDABLE, MNT_NOHLPS | MNT_NOMTAB }, /* Unbindable */ { "runbindable", MS_UNBINDABLE | MS_REC, MNT_NOHLPS | MNT_NOMTAB }, |