X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=47e711fd4482f3adbf676aaade486e3a7f93a05f;hp=7d478a33b6a4299809691ccfa9e9db543947a072;hb=b4ea84daaf58566fe21e50d6540a8bc287d91863;hpb=77b640d884c186354517a68750c83772a9d3b252;ds=sidebyside diff --git a/fio.h b/fio.h index 7d478a33..47e711fd 100644 --- a/fio.h +++ b/fio.h @@ -388,7 +388,8 @@ static int __NON_FATAL_ERR[] = {EIO, EILSEQ}; static inline int td_non_fatal_error(struct thread_data *td, enum error_type_bit etype, int err) { - int i; + unsigned int i; + if (!td->o.ignore_error[etype]) { td->o.ignore_error[etype] = __NON_FATAL_ERR; td->o.ignore_error_nr[etype] = sizeof(__NON_FATAL_ERR)