md:Add place to update ->recovery_cp.
authorkernelmail <kedacomkernel@gmail.com>
Wed, 31 Oct 2012 00:59:10 +0000 (11:59 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 13 Dec 2012 05:41:01 +0000 (16:41 +1100)
commit35d78c66969fbbb51046e9f251849cf54e9ed88c
tree283ad99a530bc52d81487f1b188837d011124c87
parentc02c0aeb6c728e5ad705dba86784bd553cb6f059
md:Add place to update ->recovery_cp.

In resyncing, recovery_cp only updated when resync aborted or completed.
But in md drives,many place used it to judge.So add a place to update.

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