From: Christian Brauner Date: Sun, 20 Feb 2022 14:51:13 +0000 (+0100) Subject: cgroups: log fd of newly created cgroup X-Git-Tag: lxc-5.0.0~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7abb2724503dcece8d16b431bece10627b078c6;p=thirdparty%2Flxc.git cgroups: log fd of newly created cgroup Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 0b753daf3..247b8bcd4 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -727,6 +727,7 @@ static int __cgroup_tree_create(int dfd_base, const char *path, mode_t mode, * it will be automatically zapped if we return early. */ dfd_cur = dfd_final; + TRACE("Opened%s cgroup %s as %d", !ret ? " newly created" : "", cur, dfd_cur); } /* The final cgroup must be succesfully creatd by us. */