projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify num2str()
[fio.git]
/
cgroup.c
diff --git
a/cgroup.c
b/cgroup.c
index 380e37e4870684e9c1dec67d4ccbef85150a4ff4..629047b495b33c145ca545ac4856efdecaf78df5 100644
(file)
--- a/
cgroup.c
+++ b/
cgroup.c
@@
-147,6
+147,9
@@
int cgroup_setup(struct thread_data *td, struct flist_head *clist, char **mnt)
{
char *root;
+ if (!clist)
+ return 1;
+
if (!*mnt) {
*mnt = find_cgroup_mnt(td);
if (!*mnt)