Blame SOURCES/libcgroup-0.41-api.c-preserve-dirty-flag.patch

c8d348
From c065903104c4d28b1ad0166f84fd6b19e0cf301e Mon Sep 17 00:00:00 2001
c8d348
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
c8d348
Date: Thu, 16 Mar 2017 14:58:27 +0100
c8d348
Subject: [PATCH] src/api.c: preserve dirty flag when copying controller values
c8d348
c8d348
---
c8d348
 src/api.c | 1 +
c8d348
 1 file changed, 1 insertion(+)
c8d348
c8d348
diff --git a/src/api.c b/src/api.c
c8d348
index 931fb3e..e9500e0 100644
c8d348
--- a/src/api.c
c8d348
+++ b/src/api.c
c8d348
@@ -1594,6 +1594,7 @@ static int cgroup_copy_controller_values(struct cgroup_controller *dst,
c8d348
 		dst_val = dst->values[i];
c8d348
 		strncpy(dst_val->value, src_val->value, CG_VALUE_MAX);
c8d348
 		strncpy(dst_val->name, src_val->name, FILENAME_MAX);
c8d348
+		dst_val->dirty = src_val->dirty;
c8d348
 	}
c8d348
 err:
c8d348
 	return ret;
c8d348
-- 
c8d348
2.7.4
c8d348