projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0aabe3
)
filesetup: don't inline native_fallocate()
author
Jens Axboe
<axboe@kernel.dk>
Thu, 2 Nov 2017 14:55:44 +0000
(08:55 -0600)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index 6bc0b8bf5dc2f42171a98582f2752708c7ee3fcc..e7abac14947a719ef80aab27b6ea7b4d39d33ebe 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-38,7
+38,7
@@
static inline void clear_error(struct thread_data *td)
td->verror[0] = '\0';
}
td->verror[0] = '\0';
}
-static in
line in
t 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;