[sheepdog-users] [PATCH stable-0.7] dog: fix wrong use of argument for dog_exec_req()

Liu Yuan namei.unix at gmail.com
Mon Jan 6 11:02:42 CET 2014


On Mon, Jan 06, 2014 at 06:43:56PM +0900, Hitoshi Mitake wrote:
> From: Robin Dong <sanbai at taobao.com>
> 
> It should use argument 'vdi_inuse' for dog_exec_req() in
> parse_vdi() and cluster_format() because 'vdi_inuse' is already the address
> of a memory-space. It will cause data corruption in some non-x86 machines.
> 
> Reviewed-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> Signed-off-by: Robin Dong <sanbai at taobao.com>
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> 
> Conflicts:
> 	dog/cluster.c
> 	dog/common.c
> 

Look good to me

Thanks
Yuan



More information about the sheepdog-users mailing list