md: Reassigned the parameters if read_seqretry returned true in func md_is_badblock.
authormajianpeng <majianpeng@gmail.com>
Tue, 6 Nov 2012 09:13:44 +0000 (17:13 +0800)
committerNeilBrown <neilb@suse.de>
Mon, 19 Nov 2012 23:27:05 +0000 (10:27 +1100)
commitab05613a0646dcc11049692d54bae76ca9ffa910
tree1d1cfb2cef6d0092c0ef88558b694f58298c31f5
parented30be077e705e0dff53bfc51d23feb8aeeab78f
md: Reassigned the parameters if read_seqretry returned true in func md_is_badblock.

This bug was introduced by commit(v3.0-rc7-126-g2230dfe).
So fix is suitable for 3.0.y thru 3.6.y.

Cc: stable@vger.kernel.org
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c