diff options
author | NeilBrown <neilb@suse.de> | 2013-07-02 15:58:05 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-07-03 09:43:28 +1000 |
commit | 78eaa0d4cbcdb345992fa3dd22b3bcbb473cc064 (patch) | |
tree | af855b75f643950b6468ca1bb03daaeb5523286b /drivers/md/raid10.h | |
parent | 0baac4db56b1895743391a348ee9ce4ae5076f9f (diff) | |
download | linux-78eaa0d4cbcdb345992fa3dd22b3bcbb473cc064.tar.bz2 |
md/raid10: fix two bugs affecting RAID10 reshape.
1/ If a RAID10 is being reshaped to a fewer number of devices
and is stopped while this is ongoing, then when the array is
reassembled the 'mirrors' array will be allocated too small.
This will lead to an access error or memory corruption.
2/ A sanity test for a reshaping RAID10 array is restarted
is slightly incorrect.
Due to the first bug, this is suitable for any -stable
kernel since 3.5 where this code was introduced.
Cc: stable@vger.kernel.org (v3.5+)
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.h')
0 files changed, 0 insertions, 0 deletions