[lxc-devel] [lxd/master] lxd: Remove MS_LAZYTIME definition

monstermunchkin on Github lxc-bot at linuxcontainers.org
Tue Aug 13 14:19:10 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 355 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190813/a4bce4f9/attachment.bin>
-------------- next part --------------
From b4c5337d9b2f5cd76c8e19980a43b8e917bc43bc Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Tue, 13 Aug 2019 16:18:44 +0200
Subject: [PATCH] lxd: Remove MS_LAZYTIME definition

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 lxd/storage_cgo.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lxd/storage_cgo.go b/lxd/storage_cgo.go
index a66edc27ef..7edba24f92 100644
--- a/lxd/storage_cgo.go
+++ b/lxd/storage_cgo.go
@@ -22,10 +22,6 @@ package main
 #include "include/macro.h"
 #include "include/memory_utils.h"
 
-#ifndef MS_LAZYTIME
-#define MS_LAZYTIME (1<<25)
-#endif
-
 #define LXD_MAXPATH 4096
 #define LXD_NUMSTRLEN64 21
 #define LXD_MAX_LOOP_PATHLEN (2 * sizeof("loop/")) + LXD_NUMSTRLEN64 + sizeof("backing_file") + 1


More information about the lxc-devel mailing list