]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC: remove duplicate controller check code
authorChen Hanxiao <chenhanxiao@cn.fujitsu.com>
Mon, 7 Jul 2014 06:26:57 +0000 (14:26 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 7 Jul 2014 06:51:43 +0000 (08:51 +0200)
commit3d41eb310ed7dacd73113008975a2166230c4eae
treefbe38c6d6c31c5a504be08c1a4d6684e11ff12c1
parentf1e192e92ec17f9fe979f1d30bad79f21189eef1
LXC: remove duplicate controller check code

We invoked virCgroupHasController twice for checking
VIR_CGROUP_CONTROLLER_DEVICES
in lxcDomainAttachDeviceDiskLive.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
src/lxc/lxc_driver.c