From: Liu Yuan <tailai.ly at taobao.com> Signed-off-by: Liu Yuan <tailai.ly at taobao.com> --- sheep/recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheep/recovery.c b/sheep/recovery.c index c076a4f..eefcf3e 100644 --- a/sheep/recovery.c +++ b/sheep/recovery.c @@ -365,7 +365,7 @@ static void recover_object_main(struct work *work) if (rw->nr_blocking > 0) rw->nr_blocking--; - resume_wait_obj_requests(rw->done++); + resume_wait_obj_requests(rw->oids[rw->done++]); if (rw->done < rw->count) { /* Requeue the work */ -- 1.7.10.2 |