浏览代码

add MS_NOREMOTELOCK mount flag from linux v4.9

for handling file locking on overlayfs.
see linux commit c568d68341be7030f5647def68851e469b21ca11
Szabolcs Nagy 8 年之前
父节点
当前提交
a8a8fdff96
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/sys/mount.h

+ 1 - 0
include/sys/mount.h

@@ -47,6 +47,7 @@ extern "C" {
 #define MS_I_VERSION   (1<<23)
 #define MS_STRICTATIME (1<<24)
 #define MS_LAZYTIME    (1<<25)
+#define MS_NOREMOTELOCK (1<<27)
 #define MS_NOSEC       (1<<28)
 #define MS_BORN        (1<<29)
 #define MS_ACTIVE      (1<<30)