[lxc-devel] [PATCH] Add missing MAX_STACKDEPTH define on MUTEX_DEBUGGING build

Stephen M Bennett stephen_m_bennett at hotmail.com
Mon May 5 19:23:30 UTC 2014


Corrected a small oversight when locking related code was moved fromsrc/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.cindex 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 1diff --git a/src/lxc/utils.c b/src/lxc/utils.cindex 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140505/88752546/attachment.html>


More information about the lxc-devel mailing list