]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: log early return
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Feb 2021 12:58:10 +0000 (13:58 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Feb 2021 12:58:10 +0000 (13:58 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 5a9cab5c51334e3f9cdb993bfdc587a0484ef552..c4a77dba7cb293a656874116f326ec6c2ba0eff5 100644 (file)
@@ -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