]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: add MS_LAZYTIME to mount options 1533/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 2 May 2017 21:38:14 +0000 (23:38 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 3 May 2017 09:15:00 +0000 (11:15 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c

index ee1d3954bcc7db4c9400ee10d3c62ed93589fbc4..0b4e2c264c38308aa53152b6973419e04398d31e 100644 (file)
@@ -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       },