diff options
author | NeilBrown <neilb@suse.de> | 2011-01-14 09:14:34 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-01-14 09:14:34 +1100 |
commit | bf2cb0dab8c97f00a71875d9b13dbac17a2f47ca (patch) | |
tree | 68587eaff5c7cb85628c1f68aecb19f2a18c8f6e /drivers/Kconfig | |
parent | ba1b41b6b4e30cb66ae2775faadea05cae3ce61c (diff) | |
download | linux-bf2cb0dab8c97f00a71875d9b13dbac17a2f47ca.tar.gz linux-bf2cb0dab8c97f00a71875d9b13dbac17a2f47ca.tar.bz2 linux-bf2cb0dab8c97f00a71875d9b13dbac17a2f47ca.zip |
md: Fix removal of extra drives when converting RAID6 to RAID5
When a RAID6 is converted to a RAID5, the extra drive should
be discarded. However it isn't due to a typo in a comparison.
This bug was introduced in commit e93f68a1fc6 in 2.6.35-rc4
and is suitable for any -stable since than.
As the extra drive is not removed, the 'degraded' counter is wrong and
so the RAID5 will not respond correctly to a subsequent failure.
Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions