[lxc-devel] [PATCH] fix check for lock acquired

Serge Hallyn serge.hallyn at ubuntu.com
Mon Jun 10 11:27:22 UTC 2013


Quoting Dwight Engen (dwight.engen at oracle.com):
> Signed-off-by: Dwight Engen <dwight.engen at oracle.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/lxc/lxccontainer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c
> index cf5252b..c8fc16f 100644
> --- a/src/lxc/lxccontainer.c
> +++ b/src/lxc/lxccontainer.c
> @@ -418,7 +418,7 @@ static void lxcapi_want_daemonize(struct lxc_container *c)
>  {
>  	if (!c)
>  		return;
> -	if (!container_mem_lock(c)) {
> +	if (container_mem_lock(c)) {
>  		ERROR("Error getting mem lock");
>  		return;
>  	}
> -- 
> 1.8.1.4
> 
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list