[sheepdog] [PATCH] Add more macros for sha1.h

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Jun 11 07:44:12 CEST 2013


At Sun,  9 Jun 2013 12:58:11 +0800,
Liu Yuan wrote:
> 
> - use SHA1_DIGEST_SIZE instead of home-grew SHA1_LEN
> - move snap_log into farm.h
> 
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  collie/common.c          |    3 ++-
>  collie/farm/farm.c       |   14 +++++++-------
>  collie/farm/farm.h       |   12 +++++++++---
>  collie/farm/sha1_file.c  |   12 ++++++------
>  collie/farm/snap.c       |    4 ++--
>  collie/vdi.c             |    3 ++-
>  include/sha1.h           |    7 +++++--
>  include/sheepdog_proto.h |    9 ---------
>  sheep/plain_store.c      |    5 +++--
>  sheep/recovery.c         |    7 ++++---
>  10 files changed, 40 insertions(+), 36 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list