[CRIU] [PATCH 3/3] cg: Remove unused cgroup_dir field
Pavel Emelyanov
xemul at parallels.com
Mon Jul 14 06:40:28 PDT 2014
Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
cgroup.c | 1 -
include/cgroup.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/cgroup.c b/cgroup.c
index 39d7cad..400ffe8 100644
--- a/cgroup.c
+++ b/cgroup.c
@@ -318,7 +318,6 @@ static int add_cgroup(const char *fpath, const struct stat *sb, int typeflag)
INIT_LIST_HEAD(&ncd->children);
ncd->n_children = 0;
- ncd->controller = current_controller;
return 0;
}
diff --git a/include/cgroup.h b/include/cgroup.h
index 283f38f..aac7348 100644
--- a/include/cgroup.h
+++ b/include/cgroup.h
@@ -23,8 +23,6 @@ struct cgroup_dir {
/* more cgroup_dirs */
struct list_head children;
unsigned int n_children;
-
- struct cg_controller *controller;
};
/* This describes a particular cgroup controller, e.g. blkio or cpuset.
--
1.8.4.2
More information about the CRIU
mailing list