Fix build issue for non-cgroup support
authorJens Axboe <axboe@kernel.dk>
Wed, 15 Feb 2012 16:30:35 +0000 (17:30 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Feb 2012 16:30:35 +0000 (17:30 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
cgroup.h
fio.c

index 68ecfcd..d91f7e7 100644 (file)
--- 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 5a99318..8a79ebe 100644 (file)
--- 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"