Even though "if (path[0] == '/')" is much simpler, that should work as
well :-)
Reviewed-by: Crístian Viana <vianac(a)linux.vnet.ibm.com>
Am 24-02-2014 13:21, schrieb Aline Manera:
From: Aline Manera <alinefm(a)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(a)br.ibm.com>