[sheepdog] [PATCH v2] sheep: split create_vdi_obj() into 4 functions

Liu Yuan namei.unix at gmail.com
Sat Aug 31 13:45:26 CEST 2013


On Fri, Aug 30, 2013 at 11:03:12PM +0900, MORITA Kazutaka wrote:
> From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> 
> create_vdi_obj() is very complex because it contains four kinds of
> operations:
> 
>  - create fresh vdi
>  - clone vdi
>  - snapshot vdi
>  - rebase vdi (rollback)
> 
> Splitting them apart makes the code much easier to read.
> 
> This patch is just a cleanup and doesn't change its logic at all.

Applied thanks

Yuan



More information about the sheepdog mailing list