From: Jens Axboe Date: Sat, 5 Dec 2009 21:30:04 +0000 (+0100) Subject: Fix an inverted cgroup exit check X-Git-Tag: fio-1.36-rc2~4 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=ed81ee199ec8f3cdfcdc78ff067a0397c3b02f5f;ds=inline Fix an inverted cgroup exit check Signed-off-by: Jens Axboe --- diff --git a/cgroup.c b/cgroup.c index b65b1fb8..29d89dd3 100644 --- a/cgroup.c +++ b/cgroup.c @@ -150,7 +150,7 @@ void cgroup_shutdown(struct thread_data *td) { if (cgroup_check_fs(td)) return; - if (!td->o.cgroup_weight && td->o.cgroup) + if (!td->o.cgroup_weight && !td->o.cgroup) return; cgroup_del_pid(td);