[sheepdog] [PATCH v4 5/5] zookeeper: handle session timeout for all zookeeper operations

Liu Yuan namei.unix at gmail.com
Tue Jun 18 10:04:03 CEST 2013


On 06/18/2013 02:15 PM, Kai Zhang wrote:
> +static inline void check_zk_rc(int rc, const char *path) {

I have never understood what rc stands for. Kazutaka, since you wrote it
in the first place, any idea?

I'd like to use retval or simply ret to mean 'return value', as all the
other functions do.

Based on above assumption, this helper would be better named as

  check_zk_retval()

Thanks,
Yuan



More information about the sheepdog mailing list