--- xlators/cluster/afr/src/afr-self-heal-algorithm.c-3.2.6	2012-04-04 16:37:25.119924626 +1000
+++ xlators/cluster/afr/src/afr-self-heal-algorithm.c	2012-04-04 18:26:14.549783618 +1000
@@ -193,7 +193,7 @@
         afr_self_heal_t *sh         = NULL;
         int              i          = 0;
         int              call_count = 0;
-        off_t            offset     = (long) cookie;
+        off_t            offset     = 0;
 
         priv = this->private;
         rw_local = rw_frame->local;
@@ -203,6 +203,7 @@
         sh_local = sh_frame->local;
         sh       = &sh_local->self_heal;
 
+        offset     = rw_sh->offset;
         call_count = sh->active_sinks;
 
         rw_local->call_count = call_count;
