[sheepdog] [PATCH v2] sheep: cache sha1 digest for read-only objects

Liu Yuan namei.unix at gmail.com
Wed May 15 05:12:26 CEST 2013


On 05/14/2013 10:54 PM, MORITA Kazutaka wrote:
> +	if (!oid_is_readonly(oid))
> +		return -1;

The extra check inside get/set isn't necessary, caller should take care
of it since it is internal API.

Thanks,
Yuan



More information about the sheepdog mailing list