]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
api.c: Preserve dirty flag when copying controller values
authorNikola Forró <nforro@redhat.com>
Thu, 16 Jan 2020 17:43:51 +0000 (18:43 +0100)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 31 Jan 2020 20:59:43 +0000 (20:59 +0000)
commit903673eecb84bcecda2551e2cdd6710ce596abed
tree46e85a1f735a2ef60989b2b6476b443e63ab04ea
parent76b745519e77f83d207a2e0ddc332e812797543b
api.c: Preserve dirty flag when copying controller values

When setting cgroup parameters with cgset fails, no error is reported.
This is caused by the fact that cgroup_copy_controller_values is not
preserving dirty flags of the values, so it's making all errors
considered non-fatal.

Signed-off-by: Nikola Forró <nforro@redhat.com>
Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com>
src/api.c