Skip to content
Commit 5ef56c8f authored by NeilBrown's avatar NeilBrown
Browse files

md: report failure if a 'set faulty' request doesn't.



Sometimes a device will refuse to be set faulty.  e.g. RAID1 will
never let the last working device become faulty.

So check if "md_error()" did manage to set the faulty flag and fail
with EBUSY if it didn't.

Resolves-Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601198
Reported-by: default avatarMike Hommey <mh+reportbug@glandium.org>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 14c62e78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment