[sheepdog] [PATCH] sheep: make invalid_vnode() type safe

Liu Yuan namei.unix at gmail.com
Tue Jul 23 06:34:14 CEST 2013


On Mon, Jul 22, 2013 at 09:54:08PM +0900, MORITA Kazutaka wrote:
> From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> 
> Comparing sd_node and sd_vnode with node_id_cmp should be avoided.  It
> is because node_id must be the first field of both structures but we
> don't have any checks for it.
> 
> This also fixes a compile error in debug build.

Applied after fixing a ling over 80

Thanks
Yuan



More information about the sheepdog mailing list