cgroups: annotate cgroup_get()/cgroup_set()

parent be835470
...@@ -3501,6 +3501,7 @@ struct cgroup_ops *cgfsng_ops_init(struct lxc_conf *conf) ...@@ -3501,6 +3501,7 @@ struct cgroup_ops *cgfsng_ops_init(struct lxc_conf *conf)
return move_ptr(cgfsng_ops); return move_ptr(cgfsng_ops);
} }
/* Connects to command socket therefore isn't callable from command handler. */
int cgroup_get(struct lxc_conf *conf, int cgroup_get(struct lxc_conf *conf,
const char *name, const char *lxcpath, const char *name, const char *lxcpath,
const char *filename, char *buf, size_t len) const char *filename, char *buf, size_t len)
...@@ -3526,6 +3527,7 @@ int cgroup_get(struct lxc_conf *conf, ...@@ -3526,6 +3527,7 @@ int cgroup_get(struct lxc_conf *conf,
return ret; return ret;
} }
/* Connects to command socket therefore isn't callable from command handler. */
int cgroup_set(struct lxc_conf *conf, const char *name, const char *lxcpath, int cgroup_set(struct lxc_conf *conf, const char *name, const char *lxcpath,
const char *filename, const char *value) const char *filename, const char *value)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment