2
0
mirror of git://github.com/lxc/lxc synced 2025-08-22 12:31:37 +00:00

cgroups: log fd of newly created cgroup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2022-02-20 15:51:13 +01:00
parent c090dbedbd
commit f7abb27245
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -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. * it will be automatically zapped if we return early.
*/ */
dfd_cur = dfd_final; 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. */ /* The final cgroup must be succesfully creatd by us. */