cgfsng: build_full_cgpath_from_monitorpath()

parent 8992a33a
...@@ -2383,11 +2383,10 @@ static const char *cgfsng_get_cgroup(void *hdata, const char *subsystem) ...@@ -2383,11 +2383,10 @@ static const char *cgfsng_get_cgroup(void *hdata, const char *subsystem)
return h->fullcgpath ? h->fullcgpath + strlen(h->mountpoint) : NULL; return h->fullcgpath ? h->fullcgpath + strlen(h->mountpoint) : NULL;
} }
/* /* Given a cgroup path returned from lxc_cmd_get_cgroup_path, build a full path,
* Given a cgroup path returned from lxc_cmd_get_cgroup_path, build a * which must be freed by the caller.
* full path, which must be freed by the caller.
*/ */
static char *build_full_cgpath_from_monitorpath(struct hierarchy *h, static inline char *build_full_cgpath_from_monitorpath(struct hierarchy *h,
const char *inpath, const char *inpath,
const char *filename) const char *filename)
{ {
......
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