On 06/02/2012 09:51 PM, Liu Yuan wrote: > 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 */ Applied. Thanks, Yuan |