Skip to content
Commit 35f9ac2d authored by majianpeng's avatar majianpeng Committed by NeilBrown
Browse files

md: Avoid write invalid address if read_seqretry returned true.



If read_seqretry returned true and bbp was changed, it will write
invalid address which can cause some serious problem.

This bug was introduced by commit v3.0-rc7-130-g2699b67.
So fix is suitable for 3.0.y thru 3.6.y.

Reported-by: default avatar <zhuwenfeng@kedacom.com>
Tested-by: default avatar <zhuwenfeng@kedacom.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJianpeng Ma <majianpeng@gmail.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent ab05613a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment