projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fio: Add to cgroup if parameter "cgroup" is enabled.
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index f4bc553b0a5ee9dab880685f1844221975d4c64f..e1dc0ac8b154a662866eea6ecc381921f5000cf0 100644
(file)
--- 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;