[lxc-devel] [PATCH] Fix get_config_item for sys:mixed

Stéphane Graber stgraber at ubuntu.com
Wed Mar 11 15:57:44 UTC 2015


Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 src/lxc/confile.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/confile.c b/src/lxc/confile.c
index 42d42e5..e3be6a6 100644
--- a/src/lxc/confile.c
+++ b/src/lxc/confile.c
@@ -2211,6 +2211,7 @@ static int lxc_get_auto_mounts(struct lxc_conf *c, char *retv, int inlen)
 	switch (c->auto_mounts & LXC_AUTO_SYS_MASK) {
 		case LXC_AUTO_SYS_RO:             strprint(retv, inlen, "%ssys:ro", sep);            sep = " "; break;
 		case LXC_AUTO_SYS_RW:             strprint(retv, inlen, "%ssys:rw", sep);            sep = " "; break;
+		case LXC_AUTO_SYS_MIXED:          strprint(retv, inlen, "%ssys:mixed", sep);         sep = " "; break;
 		default: break;
 	}
 	switch (c->auto_mounts & LXC_AUTO_CGROUP_MASK) {
-- 
1.9.1



More information about the lxc-devel mailing list