retry:
if (cgroup_manager) {
if (!g_dbus_connection_is_closed(cgroup_manager)) {
- // someone else reconnect us
+ // someone else reconnected us
cgm_unlock();
return true;
}
* See COPYING file for details.
*/
-/* XXX TODO - in debian/control, drop libcgmanager-dev,
- and add libdbus-glib-1-dev, and libglib2.0-dev to build-deps.
- make sure lxcfs_mkdir is added to the installed files */
#define FUSE_USE_VERSION 26
#include <stdio.h>
return dup;
}
-/*
- * TODO - return value should denote whether child exited with failure
- * so callers can return errors. Esp read/write of tasks and cgroup.procs
- */
static int wait_for_pid(pid_t pid)
{
int status, ret;
return ret;
}
-/*
- * TODO - cache these results in a table for use in opendir, free
- * in releasedir
- */
static int cg_opendir(const char *path, struct fuse_file_info *fi)
{
struct fuse_context *fc = fuse_get_context();
}
} else {
/*
- * exec a helerp so as to get a clean dbus connection
+ * exec a helper so as to get a clean dbus connection
* 17 for lxcfs_mkdir, and spaces and newline and \0. 50 for two ints.
* 50 for two ints
*/