[lxc-devel] [PATCH] Add missing MAX_STACKDEPTH define on MUTEX_DEBUGGING build
Stephen M Bennett
stephen_m_bennett at hotmail.com
Tue May 6 02:50:48 UTC 2014
Corrected a small oversight when locking related code was moved from
src/lxc/utils.c to src/lxc/lxclock.c.
Signed-off-by: Stephen M Bennett <stephen_m_bennett at hotmail.com>
---
src/lxc/lxclock.c | 2 ++
src/lxc/utils.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lxc/lxclock.c b/src/lxc/lxclock.c
index b7a0078..1d62729 100644
--- a/src/lxc/lxclock.c
+++ b/src/lxc/lxclock.c
@@ -37,6 +37,8 @@
#include <execinfo.h>
#endif
+#define MAX_STACKDEPTH 25
+
#define OFLAG (O_CREAT | O_RDWR)
#define SEMMODE 0660
#define SEMVALUE 1
diff --git a/src/lxc/utils.c b/src/lxc/utils.c
index 2fb3396..efec414 100644
--- a/src/lxc/utils.c
+++ b/src/lxc/utils.c
@@ -44,8 +44,6 @@
#include "log.h"
#include "lxclock.h"
-#define MAX_STACKDEPTH 25
-
lxc_log_define(lxc_utils, lxc);
static int _recursive_rmdir_onedev(char *dirname, dev_t pdev)
--
1.7.6.4
More information about the lxc-devel
mailing list