"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "2ccea03a8f7ec93641791f2760d7cdc6cab6205f"
md/raid5: don't index beyond end of array in need_this_block().
When need_this_block probably shouldn't be called when there are more than 2 failed devices, we really don't want it to try indexing beyond the end of the failed_num[] of fdev[] arrays. So limit the loops to at most 2 iterations. Reported-by:Shaohua Li <shli@fb.com> Signed-off-by:
NeilBrown <neilb@suse.de>
Loading
Please register or sign in to comment