filesetup: don't inline native_fallocate()
authorJens Axboe <axboe@kernel.dk>
Thu, 2 Nov 2017 14:55:44 +0000 (08:55 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Nov 2017 14:55:44 +0000 (08:55 -0600)
The compiler will figure this out, and it isn't a performance
hot path.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
filesetup.c

index 6bc0b8bf5dc2f42171a98582f2752708c7ee3fcc..e7abac14947a719ef80aab27b6ea7b4d39d33ebe 100644 (file)
@@ -38,7 +38,7 @@ static inline void clear_error(struct thread_data *td)
        td->verror[0] = '\0';
 }
 
        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;
 
 {
        bool success;