On Sat, Jun 20, 2015 at 07:27:30PM +0300, Vladimir Davydov wrote:
...
> +static int ve_id_write(struct cgroup *cg, struct cftype *cft, u64 value)
> +{
> + struct ve_struct *ve = cgroup_ve(cg);
> + int veid;
> + int err = 0;
> +
> + if (value <= 0 || value > INT_MAX)
> + return -EINVAL;
A small nit -- @value is unsigned no need for <= test.
Other than that, looks great, thank you!
Acked-by: Cyrill Gorcunov <[email protected]>
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel