From: Serge Hallyn Date: Tue, 6 May 2014 03:32:31 +0000 (-0500) Subject: Add missing MAX_STACKDEPTH define on MUTEX_DEBUGGING build X-Git-Tag: lxc-1.1.0.alpha1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b28d063818eb577758b1928777116c4aca92f40;p=thirdparty%2Flxc.git Add missing MAX_STACKDEPTH define on MUTEX_DEBUGGING build 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 Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/lxclock.c b/src/lxc/lxclock.c index b7a00786a..1d6272936 100644 --- a/src/lxc/lxclock.c +++ b/src/lxc/lxclock.c @@ -37,6 +37,8 @@ #include #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 2fb339600..efec41490 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)