[sheepdog] [PATCH v2 0/2] add helper functions to calculate sha1 from buffer
MORITA Kazutaka
morita.kazutaka at gmail.com
Fri Jul 19 07:22:42 CEST 2013
From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
v2:
- calculate sha1 against trimmed buffer in sha1_from_buffer()
With this series, tests/functional/030 can be passed.
MORITA Kazutaka (2):
util: add find_zero_blocks()
add sha1_from_buffer()
collie/farm/sha1_file.c | 22 ++--------------------
include/sha1.h | 1 +
include/util.h | 1 +
lib/sha1.c | 29 +++++++++++++++++++++++++++--
lib/util.c | 24 +++++++++++++++++++-----
sheep/plain_store.c | 10 +---------
6 files changed, 51 insertions(+), 36 deletions(-)
--
1.7.9.5
More information about the sheepdog
mailing list