[lxc-devel] [lxc/master] Update cgroup.h

aadi123 on Github lxc-bot at linuxcontainers.org
Sat Nov 9 18:03:57 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 366 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191109/39126d9d/attachment.bin>
-------------- next part --------------
From a151d29a5dfbc1571c6e2b0c255263f85b6d2ac1 Mon Sep 17 00:00:00 2001
From: Aaditya Murthy <aadi123 at users.noreply.github.com>
Date: Sat, 9 Nov 2019 12:02:49 -0600
Subject: [PATCH] Update cgroup.h

Fixed documentation to say that cgroupv2 uses a unified hierarchy
---
 src/lxc/cgroups/cgroup.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/cgroups/cgroup.h b/src/lxc/cgroups/cgroup.h
index f3f0f67266..6ab5187c25 100644
--- a/src/lxc/cgroups/cgroup.h
+++ b/src/lxc/cgroups/cgroup.h
@@ -77,7 +77,7 @@ typedef enum {
  *   If the hierarchy is a legacy hierarchy this will be set to
  *   CGROUP_SUPER_MAGIC.
  * - unified hierarchy
- *   If the hierarchy is a legacy hierarchy this will be set to
+ *   If the hierarchy is a unified hierarchy this will be set to
  *   CGROUP2_SUPER_MAGIC.
  */
 struct hierarchy {


More information about the lxc-devel mailing list