projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
engines/sg: Return error if generic_close_file fails
[fio.git]
/
engines
/
sg.c
diff --git
a/engines/sg.c
b/engines/sg.c
index 0c2d2c8b861ad22fdc3080e51a605194450ffcc5..592c448890dc5130cf4fbc2c6a145ce57a76a28d 100644
(file)
--- a/
engines/sg.c
+++ b/
engines/sg.c
@@
-982,7
+982,7
@@
static int fio_sgio_open(struct thread_data *td, struct fio_file *f)
if (sd && !sd->type_checked && fio_sgio_type_check(td, f)) {
ret = generic_close_file(td, f);
- return
1
;
+ return
ret
;
}
return 0;