[sheepdog] [PATCH] sheep: fix wrong arg for resume_wait_obj_requests()
Liu Yuan
namei.unix at gmail.com
Sat Jun 2 15:51:23 CEST 2012
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
More information about the sheepdog
mailing list