summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2011-07-06 16:36:52 +0000
committerkrw <krw@openbsd.org>2011-07-06 16:36:52 +0000
commitfa213d8c4f310adabd71eee569b023864d748c22 (patch)
tree349afeb0f7673fe934f4e58c0ad86d8004eea21a /sys/dev/softraid.c
parentRemove a trailing \ from a comment which was hiding the altos3 entry (diff)
downloadwireguard-openbsd-fa213d8c4f310adabd71eee569b023864d748c22.tar.xz
wireguard-openbsd-fa213d8c4f310adabd71eee569b023864d748c22.zip
On several archs (e.g. hppa, sgi, macppc) readdoslabel() is called after an attempt to
read a native label fails. Reset B_ERROR/b_error on buf to ensure any i/o failure on that first attempt is forgiven. A la the dkcsum() fix to recover from a disk error.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions