]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt: lxc: fix incorrect parameter of lxcContainerMountProcFuse
authorGao feng <gaofeng@cn.fujitsu.com>
Wed, 9 Jan 2013 11:01:11 +0000 (19:01 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 9 Jan 2013 14:08:42 +0000 (15:08 +0100)
commitae9874e471fc61d9d654247c2fd24d9baa455afa
tree42ef567ea9ffd14df0be5c7b9089fcd3d0961838
parentaedfcce33e4c2f266668a39fd655574fe34f1265
libvirt: lxc: fix incorrect parameter of lxcContainerMountProcFuse

when we has no host's src mapped to container.
there is no .oldroot dir,so libvirt lxc will fail
to start when mouting meminfo.

in this case,the parameter srcprefix of function
lxcContainerMountProcFuse should be NULL.and make
this method handle NULL correctly.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
src/lxc/lxc_container.c