From: Christian Brauner Date: Tue, 2 May 2017 21:38:14 +0000 (+0200) Subject: conf: add MS_LAZYTIME to mount options X-Git-Tag: lxc-2.1.0~144^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1533%2Fhead;p=thirdparty%2Flxc.git conf: add MS_LAZYTIME to mount options Signed-off-by: Christian Brauner --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index ee1d3954b..0b4e2c264 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -173,6 +173,10 @@ static int sethostname(const char * name, size_t len) #define MS_PRIVATE (1<<18) #endif +#ifndef MS_LAZYTIME +#define MS_LAZYTIME (1<<25) +#endif + /* memfd_create() */ #ifndef MFD_CLOEXEC #define MFD_CLOEXEC 0x0001U @@ -302,6 +306,7 @@ static struct mount_opt mount_opt[] = { { "diratime", 1, MS_NODIRATIME }, { "dirsync", 0, MS_DIRSYNC }, { "exec", 1, MS_NOEXEC }, + { "lazytime", 0, MS_LAZYTIME }, { "mand", 0, MS_MANDLOCK }, { "noatime", 0, MS_NOATIME }, { "nodev", 0, MS_NODEV },