[Sheepdog] [PATCH 2/2] collie: fix IO request retry

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed May 12 07:56:33 CEST 2010


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 collie/group.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/collie/group.c b/collie/group.c
index 2c07d83..fe6a06d 100644
--- a/collie/group.c
+++ b/collie/group.c
@@ -1477,8 +1477,7 @@ do_retry:
 	while (!list_empty(&failed_req_list)) {
 		struct request *req = list_first_entry(&failed_req_list,
 						       struct request, r_wlist);
-		list_del(&req->r_wlist);
-		req->done(req);
+		req->work.done(&req->work, 0);
 
 		retry = 1;
 	}
-- 
1.5.6.5




More information about the sheepdog mailing list