diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-06-27 01:14:25 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-06-27 01:14:25 +0000 |
commit | c2adb8e9ae3ae21ebbafbbcd1095d3001dfac88d (patch) | |
tree | fd93e1e8615f365bb767f1fbe38fcae352dacd4f /etc | |
parent | 7bd9d49a863c7e7562d8aa52e59f3b1962c75abb (diff) |
Ensure we don't re-issue a failed buf without clearing B_ERROR and
b_error. Otherwise a good i/o will appear to have failed. Fixes
problem with dkcsum.c being unable to read data to checksum from
subsequent devices after an i/o fails. And thus failing to find
correct root in some cases.
Introduced at k2k11 with buf flags rectification. Scan of all
biowait() calls finds no other obvious re-use of a buf that could
have error'ed out. Just re-use of bufs that worked. So quick fix
pending closer review of all uses.
Problem noted by Jens A. Griepen.
ok matthew@ deraadt@
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions