- _cleanup_free_ char *md = NULL, *p = NULL;
- int r;
-
- r = cg_get_machine_path(NULL, &md);
- if (r < 0)
- return r;
-
- r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, md, NULL, &p);
- if (r < 0)
- return r;
-
- k = inotify_add_watch(fd, p, IN_MOVED_TO|IN_CREATE|IN_DELETE);