X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=backend.c;h=e1dc0ac8b154a662866eea6ecc381921f5000cf0;hp=f4bc553b0a5ee9dab880685f1844221975d4c64f;hb=5d89ff793b002e2bd8c1d490030bf35b6f9ee2db;hpb=79074e7c8c01a355be5b6d3a84df101100f93a66 diff --git a/backend.c b/backend.c index f4bc553b..e1dc0ac8 100644 --- a/backend.c +++ b/backend.c @@ -1055,7 +1055,7 @@ static void *thread_main(void *data) } } - if (td->o.cgroup_weight && cgroup_setup(td, cgroup_list, &cgroup_mnt)) + if (td->o.cgroup && cgroup_setup(td, cgroup_list, &cgroup_mnt)) goto err; errno = 0;