X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=backend.c;h=38efc2307809266d234cfeb183e33bda94b5ea68;hp=3a471521d6931508335f9ede44b3ab5aae1598f1;hb=fb390e242cac8868e01cdc2046c63e04e3d53d70;hpb=2a95f716d8808f45cd5806eac0baad96b39b0016 diff --git a/backend.c b/backend.c index 3a471521..38efc230 100644 --- a/backend.c +++ b/backend.c @@ -1068,7 +1068,7 @@ static void *thread_main(void *data) } } - if (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;