On 06/02/2012 09:51 PM, Liu Yuan wrote:

> 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 */


Applied.

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

Reply via email to