X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=cgroup.c;h=629047b495b33c145ca545ac4856efdecaf78df5;hb=b2e6494cd9b2195d8df250444d750d10f61a12b5;hp=380e37e4870684e9c1dec67d4ccbef85150a4ff4;hpb=ec2ea18e87fad6c42d6875cd4ee1bb25ef9b4627;p=fio.git diff --git a/cgroup.c b/cgroup.c index 380e37e4..629047b4 100644 --- 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)