On 05/16/2013 09:19 AM, Glauber Costa wrote:
On 05/16/2013 04:14 PM, Andrey Vagin wrote:
+       ret = ct_env_create_real(arg);
+       if (ret < 0)
                return VZ_RESOURCE_ERROR;
-       }
Isn't it better to just keep the return values intact in create_real,
and then return them as is if ret != 0 ?


Makes sense to me (and makes the patch smaller)
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to