]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxcapi_clone: restore the unexpanded config len 701/head
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 17 Nov 2015 21:05:05 +0000 (15:05 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 17 Nov 2015 21:05:05 +0000 (15:05 -0600)
commit3b3925198558354089acf651e9cbb339a7b6bc9a
tree1cae6b6b3ef3c0b985de8db412f9e45dcf316b7c
parentab5e52f6a35b18d4ba98b2d5e095f056d4e46fd8
lxcapi_clone: restore the unexpanded config len

Otherwise it gets shortened with the temporary len but never
restored - which will only break API users which do a clone
then continue to use the original container, meaning this is
a hard one to detect.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.c