diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-12 20:51:26 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-12 20:51:26 +0000 |
commit | 44f1dacd9f544e7d6b24890c23b6750329738b9e (patch) | |
tree | 76a192b5139e00acd575f96c2898632ff82ef564 /sbin/fsck_ext2fs/pass1.c | |
parent | 14386d7e3174d157ac5bf93f4ae751d8c0517992 (diff) |
Fix a misreporting bug after bioctl -H is used to create a hotspare. This was
reported by several people. What happens is that the firmware sometimes
misreports what SCSI type a device is. The driver was only allowing a create
hotspare function when the type was set to hard disk. Since the firmware will,
obviously, not allow the driver to create a hotspare on any other type of device
the driver doesn't need these smarts and now will ignore the type.
Tested by henning todd and Ben Lovett.
ok dlg
Diffstat (limited to 'sbin/fsck_ext2fs/pass1.c')
0 files changed, 0 insertions, 0 deletions