Unverified Commit 052e7c70 by Christian Brauner Committed by Stéphane Graber

conf: add MS_LAZYTIME to mount options

parent a49066d4
...@@ -170,6 +170,10 @@ static int sethostname(const char * name, size_t len) ...@@ -170,6 +170,10 @@ static int sethostname(const char * name, size_t len)
#define MS_PRIVATE (1<<18) #define MS_PRIVATE (1<<18)
#endif #endif
#ifndef MS_LAZYTIME
#define MS_LAZYTIME (1<<25)
#endif
/* memfd_create() */ /* memfd_create() */
#ifndef MFD_CLOEXEC #ifndef MFD_CLOEXEC
#define MFD_CLOEXEC 0x0001U #define MFD_CLOEXEC 0x0001U
...@@ -294,6 +298,7 @@ static struct mount_opt mount_opt[] = { ...@@ -294,6 +298,7 @@ static struct mount_opt mount_opt[] = {
{ "diratime", 1, MS_NODIRATIME }, { "diratime", 1, MS_NODIRATIME },
{ "dirsync", 0, MS_DIRSYNC }, { "dirsync", 0, MS_DIRSYNC },
{ "exec", 1, MS_NOEXEC }, { "exec", 1, MS_NOEXEC },
{ "lazytime", 0, MS_LAZYTIME },
{ "mand", 0, MS_MANDLOCK }, { "mand", 0, MS_MANDLOCK },
{ "noatime", 0, MS_NOATIME }, { "noatime", 0, MS_NOATIME },
{ "nodev", 0, MS_NODEV }, { "nodev", 0, MS_NODEV },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment