projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't print native_fallocate() error if ENOSYS
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 362997c15856dbb83b2ab39a0a123e217dd65dd7..839aefc33752e28c7a8e7a628593f9f8f758066f 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-67,7
+67,7
@@
static void fallocate_file(struct thread_data *td, struct fio_file *f)
switch (td->o.fallocate_mode) {
case FIO_FALLOCATE_NATIVE:
r = native_fallocate(td, f);
- if (r != 0)
+ if (r != 0
&& errno != ENOSYS
)
log_err("fio: native_fallocate call failed: %s\n",
strerror(errno));
break;