[Devel] [PATCH RH7 4/4] ve: cgroup: initialize odirect_enable, features and _randomize_va_space

Vladimir Davydov vdavydov at parallels.com
Thu Jun 25 09:36:23 PDT 2015


On Thu, Jun 25, 2015 at 03:56:24PM +0300, Pavel Tikhomirov wrote:
> @@ -665,6 +665,11 @@ static struct cgroup_subsys_state *ve_create(struct cgroup *cg)
>  	if (!ve->ve_name)
>  		goto err_name;
>  
> +	ve->_randomize_va_space = ve0._randomize_va_space;
> +
> +	ve->features = VE_FEATURES_DEF;
> +
> +	ve->odirect_enable = 2;
>  	ve->fsync_enable = 2;

Now we don't need to initialize these fields in init_ve_struct. Please
remove.



More information about the Devel mailing list