diff options
| author | NeilBrown <[email protected]> | 2011-08-25 04:42:51 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2011-08-25 04:42:51 +0000 |
| commit | 5ef56c8fecedf403a346d02140e52a072d693d6b (patch) | |
| tree | 1f121fe5e4db61364c352e7ffe2293a1cc20e9a9 /lib/dynamic_debug.c | |
| parent | Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-5ef56c8fecedf403a346d02140e52a072d693d6b.tar.gz kernel-5ef56c8fecedf403a346d02140e52a072d693d6b.zip | |
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 <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
