projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f3a08
)
Fix wrong return type on td_error_type()
author
Jens Axboe
<axboe@kernel.dk>
Tue, 13 Nov 2012 15:30:56 +0000
(08:30 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 13 Nov 2012 15:30:56 +0000
(08:30 -0700)
It returns enum error_type_bit, not error_type.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio.h
patch
|
blob
|
blame
|
history
diff --git
a/fio.h
b/fio.h
index 1526d191a6eab03911696c2e7c45aab566be2385..ca1a5f061b3ce5e9c7e682ddf40a0ea17c740c56 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-594,7
+594,7
@@
static inline void fio_ro_check(struct thread_data *td, struct io_u *io_u)
#define REAL_MAX_JOBS 2048
-static inline enum error_type td_error_type(enum fio_ddir ddir, int err)
+static inline enum error_type
_bit
td_error_type(enum fio_ddir ddir, int err)
{
if (err == EILSEQ)
return ERROR_TYPE_VERIFY_BIT;