Re: [lxc-devel] [PATCH 1/2] Make mod_all_rdeps() public It will now also be called from start.c

2015-09-15 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com):
> Signed-off-by: Christian Brauner 

Acked-by: Serge E. Hallyn 

> ---
>  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 0ba4fc0..dd891dc 100644
> --- a/src/lxc/lxccontainer.c
> +++ b/src/lxc/lxccontainer.c
> @@ -2111,7 +2111,7 @@ static void strip_newline(char *p)
>   p[len-1] = '\0';
>  }
>  
> -static void mod_all_rdeps(struct lxc_container *c, bool inc)
> +void mod_all_rdeps(struct lxc_container *c, bool inc)
>  {
>   struct lxc_container *p;
>   char *lxcpath = NULL, *lxcname = NULL, path[MAXPATHLEN];
> -- 
> 2.5.2
> 
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH 1/2] Make mod_all_rdeps() public It will now also be called from start.c

2015-09-15 Thread Christian Brauner
Signed-off-by: Christian Brauner 
---
 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 0ba4fc0..dd891dc 100644
--- a/src/lxc/lxccontainer.c
+++ b/src/lxc/lxccontainer.c
@@ -2111,7 +2111,7 @@ static void strip_newline(char *p)
p[len-1] = '\0';
 }
 
-static void mod_all_rdeps(struct lxc_container *c, bool inc)
+void mod_all_rdeps(struct lxc_container *c, bool inc)
 {
struct lxc_container *p;
char *lxcpath = NULL, *lxcname = NULL, path[MAXPATHLEN];
-- 
2.5.2

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel