In the replay path of lod_declare_layout_change(), it mistakenly uses
the address of buffer pointer where it should use the buffer pointer.
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I82b77ad4b12bc7880f7376e13853baaa7dbfe341
Reviewed-on: https://review.whamcloud.com/29269
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
if (rc <= 0)
GOTO(out, rc);
/* old on-disk EA is stored in info->lti_buf */
- comp_v1 = (struct lov_comp_md_v1 *)&info->lti_buf.lb_buf;
+ comp_v1 = (struct lov_comp_md_v1 *)info->lti_buf.lb_buf;
replay = true;
} else {
/* non replay path */