]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Dec 2012 19:47:06 +0000 (11:47 -0800)
commit45bc5c6913e04f1346bfe3401d2f52ad2164b3b2
tree27bfd93fe81f8b1d514b7d075d3c4aecde23c1ce
parent262a70e8fbf870359ced2059becf116a249bb2d5
md: Reassigned the parameters if read_seqretry returned true in func md_is_badblock.

commit ab05613a0646dcc11049692d54bae76ca9ffa910 upstream.

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

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/md.c