[CRIU] [PATCH 2/3] tests: remove commented out code
Tycho Andersen
tycho.andersen at canonical.com
Thu Jun 16 14:38:28 PDT 2016
An oddity (bug?) means that we don't preserve empty cgroups in in the criu
cgset, since we don't dump it. So we do need to move things into tasks.
(This probably got commented out due to a bug in the Ubuntu kernel that I
ran across [1] which should be fixed shortly :)
[1]: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1588056
Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
test/zdtm/static/cgroup04.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/test/zdtm/static/cgroup04.c b/test/zdtm/static/cgroup04.c
index d84af78..a9746ae 100644
--- a/test/zdtm/static/cgroup04.c
+++ b/test/zdtm/static/cgroup04.c
@@ -66,10 +66,8 @@ int mount_and_add(const char *controller, const char *path, const char *prop, co
sprintf(aux, "%d", getpid());
sprintf(paux, "%s/%s/tasks", subdir, path);
- /*
if (write_value(paux, aux) < 0)
goto err_rs;
- */
return 0;
err_rs:
--
2.7.4
More information about the CRIU
mailing list