Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update mount flags to latest linux

* system.c (MS_RELATIME, MS_KERNMOUNT, MS_I_VERSION,
MS_STRICTATIME, MS_BORN): Define.
(mount_flags): Add MS_RELATIME, MS_KERNMOUNT, MS_I_VERSION,
MS_STRICTATIME, MS_BORN.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information...
commit 22485b702b4fc7c66520896b67b9cda2a4cb2486 1 parent c36c303
Mike Frysinger vapier authored Dmitry V. Levin committed

Showing 1 changed file with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. +10 0 system.c
10 system.c
@@ -55,6 +55,11 @@
55 55 #define MS_PRIVATE (1<<18) /* change to private */
56 56 #define MS_SLAVE (1<<19) /* change to slave */
57 57 #define MS_SHARED (1<<20) /* change to shared */
  58 +#define MS_RELATIME (1<<21)
  59 +#define MS_KERNMOUNT (1<<22)
  60 +#define MS_I_VERSION (1<<23)
  61 +#define MS_STRICTATIME (1<<24)
  62 +#define MS_BORN (1<<29)
58 63 #define MS_ACTIVE (1<<30)
59 64 #define MS_NOUSER (1<<31)
60 65 #define MS_MGC_VAL 0xc0ed0000 /* Magic flag number */
@@ -92,6 +97,11 @@ static const struct xlat mount_flags[] = {
92 97 { MS_NOEXEC, "MS_NOEXEC" },
93 98 { MS_SYNCHRONOUS,"MS_SYNCHRONOUS"},
94 99 { MS_REMOUNT, "MS_REMOUNT" },
  100 + { MS_RELATIME, "MS_RELATIME" },
  101 + { MS_KERNMOUNT, "MS_KERNMOUNT" },
  102 + { MS_I_VERSION, "MS_I_VERSION" },
  103 + { MS_STRICTATIME,"MS_STRICTATIME"},
  104 + { MS_BORN, "MS_BORN" },
95 105 { MS_MANDLOCK, "MS_MANDLOCK" },
96 106 { MS_NOATIME, "MS_NOATIME" },
97 107 { MS_NODIRATIME,"MS_NODIRATIME" },

0 comments on commit 22485b7

Please sign in to comment.
Something went wrong with that request. Please try again.