From: Liu Yuan <[email protected]>

Signed-off-by: Liu Yuan <[email protected]>
---
 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

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to