From 8912711cac563c2145004394fb41cdea6f3e0202 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 2 May 2017 23:38:14 +0200 Subject: [PATCH] conf: add MS_LAZYTIME to mount options Signed-off-by: Christian Brauner --- src/lxc/conf.c | 5 +++++ 1 file changed, 5 insertions(+) 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 }, -- 2.47.2