Skip to content

Commit

Permalink
conf: add MS_LAZYTIME to mount options
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed May 3, 2017
1 parent 470b359 commit 8912711
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lxc/conf.c
Expand Up @@ -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
Expand Down Expand Up @@ -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 },
Expand Down

0 comments on commit 8912711

Please sign in to comment.