From: Jens Axboe Date: Fri, 29 Jun 2018 14:00:29 +0000 (-0600) Subject: Fix compilation without cgroups X-Git-Tag: fio-3.8~22 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=354d50e771451f510e5886275768abb63b602798;p=fio.git Fix compilation without cgroups Fixes: c3dc516ad75e ("fio: work with cgroup2 as well") Signed-off-by: Jens Axboe --- diff --git a/cgroup.h b/cgroup.h index 5afac7f7..10313b7d 100644 --- a/cgroup.h +++ b/cgroup.h @@ -18,7 +18,7 @@ void cgroup_kill(struct flist_head *list); struct cgroup_mnt; static inline int cgroup_setup(struct thread_data *td, struct flist_head *list, - struct cgroup_mount **mnt) + struct cgroup_mnt **mnt) { td_verror(td, EINVAL, "cgroup_setup"); return 1;