[Kimchi-devel] [PATCH] issue #316: Only verify if path starts with '/'

Crístian Viana vianac at linux.vnet.ibm.com
Mon Feb 24 18:03:05 UTC 2014


Even though "if (path[0] == '/')" is much simpler, that should work as 
well :-)

Reviewed-by: Crístian Viana <vianac at linux.vnet.ibm.com>

Am 24-02-2014 13:21, schrieb Aline Manera:
> From: Aline Manera <alinefm at br.ibm.com>
>
> Any character is allowed in a Linux path.
> So while creating a DIR storage pool we just need to make sure the path
> starts with '/' and backend will properly check if it exists on the
> system.
>
> Signed-off-by: Aline Manera <alinefm at br.ibm.com>




More information about the Kimchi-devel mailing list