summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-11-02 08:55:44 -0600
committerJens Axboe <axboe@kernel.dk>2017-11-02 08:55:44 -0600
commitc75f74fb4dce30811d5b4ed09f884c97972828f1 (patch)
tree74d27415204cda9a275c7ce9b7e9572ce4cf572f
parentc0aabe37db1bde7def7961f91bf65d8d147c367a (diff)
downloadfio-c75f74fb4dce30811d5b4ed09f884c97972828f1.tar.gz
fio-c75f74fb4dce30811d5b4ed09f884c97972828f1.tar.bz2
filesetup: don't inline native_fallocate()
The compiler will figure this out, and it isn't a performance hot path. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--filesetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesetup.c b/filesetup.c
index 6bc0b8bf..e7abac14 100644
--- a/filesetup.c
+++ b/filesetup.c
@@ -38,7 +38,7 @@ static inline void clear_error(struct thread_data *td)
td->verror[0] = '\0';
}
-static inline int native_fallocate(struct thread_data *td, struct fio_file *f)
+static int native_fallocate(struct thread_data *td, struct fio_file *f)
{
bool success;