From 71768568dc26de7ce31912e3a97305da8a7df36f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 15 Feb 2012 17:30:35 +0100 Subject: [PATCH] Fix build issue for non-cgroup support Signed-off-by: Jens Axboe --- cgroup.h | 2 +- fio.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cgroup.h b/cgroup.h index 68ecfcd4..d91f7e7b 100644 --- a/cgroup.h +++ b/cgroup.h @@ -21,7 +21,7 @@ static inline void cgroup_shutdown(struct thread_data *td, char **mnt) { } -void cgroup_kill(struct flist_head *list) +static inline void void cgroup_kill(struct flist_head *list) { } diff --git a/fio.c b/fio.c index 5a99318e..8a79ebed 100644 --- a/fio.c +++ b/fio.c @@ -42,7 +42,6 @@ #include "verify.h" #include "trim.h" #include "diskutil.h" -#include "cgroup.h" #include "profile.h" #include "lib/rand.h" #include "memalign.h" -- 2.25.1