On 10.04.2013 12:08, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
The LXC driver currently has code to detect cgroups mounts
and then re-mount them inside the new root filesystem. Replace
this fragile code with a call to virCgroupIsolateMount.
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
src/lxc/lxc_container.c | 237 ++----------------------------------------------
1 file changed, 8 insertions(+), 229 deletions(-)
ACK if you squash this in:
diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
index b0367e4..ac0f69c 100644
--- a/src/lxc/lxc_container.c
+++ b/src/lxc/lxc_container.c
@@ -35,7 +35,6 @@
#include <sys/stat.h>
#include <unistd.h>
#include <mntent.h>
-#include <dirent.h>
#include <sys/reboot.h>
#include <linux/reboot.h>
Michal