diff options
author | NeilBrown <neilb@suse.de> | 2008-08-05 15:54:13 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-08-05 15:56:32 +1000 |
commit | c89a8eee61540df04fc83f32f51ef0f46ec018b1 (patch) | |
tree | 7bffba40357f654de8ed31bc6a0e7468daa61234 /net/core/dev.c | |
parent | ac4090d24c6a26211bc4523d920376e054d4f3f8 (diff) |
Allow faulty devices to be removed from a readonly array.
Removing faulty devices from an array is a two stage process.
First the device is moved from being a part of the active array
to being similar to a spare device. Then it can be removed
by a request from user space.
The first step is currently not performed for read-only arrays,
so the second step can never succeed.
So allow readonly arrays to remove failed devices (which aren't
blocked).
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions