From: Christian Brauner Date: Mon, 15 Feb 2021 12:58:10 +0000 (+0100) Subject: cgroups: log early return X-Git-Tag: lxc-5.0.0~287^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a86fb378d0bab76d14788ed2487cc4ff5f4cd4a;p=thirdparty%2Flxc.git cgroups: log early return Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 5a9cab5c5..c4a77dba7 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -1924,7 +1924,7 @@ __cgfsng_ops static bool cgfsng_mount(struct cgroup_ops *ops, } if (in_cgroup_ns && !wants_force_mount) - return true; + return log_trace(true, "Mounting cgroups not requested or needed"); /* * Fallback to a mixed layout when the user did not specify what cgroup