Repository navigation
Commit 5ef56c8
committed
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: Mike Hommey <mh+reportbug@glandium.org>
Signed-off-by: NeilBrown <neilb@suse.de>1 parent 14c62e7 commit 5ef56c8
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2561 | 2561 | | |
2562 | 2562 | | |
2563 | 2563 | | |
2564 | | - | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
2565 | 2568 | | |
2566 | 2569 | | |
2567 | 2570 | | |
| |||
5983 | 5986 | | |
5984 | 5987 | | |
5985 | 5988 | | |
| 5989 | + | |
| 5990 | + | |
5986 | 5991 | | |
5987 | 5992 | | |
5988 | 5993 | | |
| |||
0 commit comments