[lxc-devel] [PATCH] fix 'lxc.mount.entry' key when clearing unexpanded config

Stéphane Graber stgraber at ubuntu.com
Thu Dec 10 04:01:01 UTC 2015


On Thu, Dec 10, 2015 at 02:12:41AM +0000, Serge Hallyn wrote:
> Closes #712
> 
> Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  src/lxc/confile.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/lxc/confile.c b/src/lxc/confile.c
> index ce6786c..1185d7d 100644
> --- a/src/lxc/confile.c
> +++ b/src/lxc/confile.c
> @@ -2533,7 +2533,7 @@ int lxc_clear_config_item(struct lxc_conf *c, const char *key)
>  		return lxc_clear_config_keepcaps(c);
>  	else if (strncmp(key, "lxc.cgroup", 10) == 0)
>  		return lxc_clear_cgroups(c, key);
> -	else if (strcmp(key, "lxc.mount.entries") == 0)
> +	else if (strcmp(key, "lxc.mount.entry") == 0)
>  		return lxc_clear_mount_entries(c);
>  	else if (strcmp(key, "lxc.mount.auto") == 0)
>  		return lxc_clear_automounts(c);
> -- 
> 2.5.0
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151209/feaedd93/attachment.sig>


More information about the lxc-devel mailing list