[sheepdog] [PATCH 1/9] add forward error correction for erasure code

MORITA Kazutaka morita.kazutaka at gmail.com
Tue Sep 24 10:16:40 CEST 2013


At Thu, 19 Sep 2013 18:42:45 +0800,
Liu Yuan wrote:
> 
> +
> +#define SWAP(a, b, t) { t tmp; tmp = a; a = b; b = tmp; }
> +

I think this should be moved to util.h.  In addition we can remove 't'
from the arguments since we can get the type with typeof(a).

Thanks,

Kazutaka



More information about the sheepdog mailing list