]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: add cgroup2 pseudo FS
authorKarel Zak <kzak@redhat.com>
Tue, 8 Dec 2015 11:16:27 +0000 (12:16 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Dec 2015 11:16:27 +0000 (12:16 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/statfs_magic.h
libmount/src/utils.c

index 7397a4e5da844c5a20466441e0248dc7548d0945..7adce8af1c1c5b4bb954aa3b8c073d52a494b9f3 100644 (file)
@@ -30,6 +30,7 @@
 #define STATFS_BTRFS_MAGIC     0x9123683E
 #define STATFS_CEPH_MAGIC      0x00c36400
 #define STATFS_CGROUP_MAGIC    0x27e0eb
+#define STATFS_CGROUP2_MAGIC   0x63677270
 #define STATFS_CIFS_MAGIC      0xff534d42
 #define STATFS_CODA_MAGIC      0x73757245
 #define STATFS_CONFIGFS_MAGIC  0x62656570
index 2bfca28d41d0cf0c26e2ad62c6f991c11a6499d9..6c9217ee96720a733b147b7c71aa1a8773583538 100644 (file)
@@ -257,6 +257,7 @@ int mnt_fstype_is_pseudofs(const char *type)
                "bdev",
                "binfmt_misc",
                "cgroup",
+               "cgroup2",
                "configfs",
                "cpuset",
                "debugfs",