diff options
Diffstat (limited to 'libcgroup-0.36.2-systemd.patch')
-rw-r--r-- | libcgroup-0.36.2-systemd.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libcgroup-0.36.2-systemd.patch b/libcgroup-0.36.2-systemd.patch deleted file mode 100644 index e1cf0c5..0000000 --- a/libcgroup-0.36.2-systemd.patch +++ /dev/null @@ -1,24 +0,0 @@ -Ignore systemd hierarchy. Quick&dirity fix for bug #627378 - -Author: Dhaval Giani <dhaval.bugzilla@thegianis.in> - -@@ -, +, @@ - src/api.c | 8 ++++++++ - 1 file changed, 8 insertions(+) ---- libcgroup-0.36.2/src/api.c -+++ libcgroup-0.36.2/src/api.c -@@ -772,6 +772,14 @@ int cgroup_init(void) - * Check if it is a duplicate - */ - duplicate = 0; -+ -+ /* -+ * Ignore anything to do with systemd -+ */ -+ if (strncmp(mntopt, "name=systemd", -+ strlen("name=systemd")) == 0) -+ continue; -+ - for (j = 0; j < found_mnt; j++) { - if (strncmp(mntopt, cg_mount_table[j].name, - FILENAME_MAX) == 0) { |