Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / kernel / vserver / legacy.c
index 7ab0b1e..8d67731 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <linux/sched.h>
+#include <linux/vs_base.h>
 #include <linux/vs_context.h>
 #include <linux/vs_network.h>
 #include <linux/vserver/legacy.h>
@@ -30,8 +31,6 @@ static int vx_set_initpid(struct vx_info *vxi, int pid)
        init = find_task_by_real_pid(pid);
        if (!init)
                return -ESRCH;
-
-       vxi->vx_flags &= ~VXF_STATE_INIT;
        return vx_set_init(vxi, init);
 }