[sheepdog] [PATCH v2] sheep: read timestmap with correct size in do_epoch_log_read()

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Apr 1 05:18:35 CEST 2013


At Mon,  1 Apr 2013 10:20:37 +0900,
Hitoshi Mitake wrote:
> 
> do_epoch_log_read() reads timestamp with sizeof(timestamp). But the
> size should be sizeof(*timestamp). This would cause problems on 32bit 
> architectures.
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
> 
> v2: remove other invalid sizeof(timestamp)
> 
>  sheep/store.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list