[sheepdog] [PATCH] collie: cleanup callbacks of collie command when they send header only requests

Liu Yuan namei.unix at gmail.com
Fri Jul 27 05:04:24 CEST 2012


On 07/26/2012 09:46 PM, Yunkai Zhang wrote:
> V2:
> - rename send_empty_req() to send_light_req(), and move it to net.c
> - cleanup tow more places: collie/node.c collie/debug.c
> -------------------------------------------------------------------- >8
> 
> There are several callbacks of collie command send requests which only contain
> header. So let's abstract the common part of the them into a new function:
> send_light_req() which could make code more compactness.

Applied after fixing checkpatch.pl warning.

Thanks,
Yuan



More information about the sheepdog mailing list