don't leave ignore_error_nr[etype] with 4 on blank input or error
authorTomohiro Kusumi <tkusumi@tuxera.com>
Wed, 7 Jun 2017 20:18:46 +0000 (23:18 +0300)
committerJens Axboe <axboe@fb.com>
Wed, 7 Jun 2017 20:23:26 +0000 (14:23 -0600)
commitd503e281987cea0d706444eee7a447a11db7b6be
treedbc8462f2ba826b86f4e3d003c98159cf8b9391a
parent685ffd575151fec5cf7733a89129a7b44660fe3a
don't leave ignore_error_nr[etype] with 4 on blank input or error

This isn't a bug since td_non_fatal_error() checks errnos to ignore
by td->o.ignore_error[etype] being NULL or not, but it's still strange
to leave td->o.ignore_error_nr[etype] with 4 (or multiple of 4 on
error) when there aren't any.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
options.c