X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=cgroup.h;h=0bbe25a2cb79f720d843113c8ca07a3c002ac40f;hb=aded30f74e21498ecad5656c05ec8d41d6fb2e65;hp=b246ef8607d044f3f15e3a51ac9f8be7b6eefde3;hpb=dae5341c3059273242598de2bc27cc9f18c627c1;p=fio.git diff --git a/cgroup.h b/cgroup.h index b246ef86..0bbe25a2 100644 --- a/cgroup.h +++ b/cgroup.h @@ -3,24 +3,25 @@ #ifdef FIO_HAVE_CGROUPS -int cgroup_setup(struct thread_data *td, struct flist_head *list); -void cgroup_shutdown(struct thread_data *td); +int cgroup_setup(struct thread_data *, struct flist_head *, char **); +void cgroup_shutdown(struct thread_data *, char **); void cgroup_kill(struct flist_head *list); #else -static inline int cgroup_setup(struct thread_data *td, struct flist_head *list); +static inline int cgroup_setup(struct thread_data *td, struct flist_head *list, + char **mnt) { td_verror(td, EINVAL, "cgroup_setup"); return 1; } -static inline void cgroup_shutdown(struct thread_data *td) +static inline void cgroup_shutdown(struct thread_data *td, char **mnt) { } -void cgroup_kill(struct flist_head *list); +static inline void cgroup_kill(struct flist_head *list) { }