[Devel] Re: [PATCH] Add a 'trigger' callback on struct cftype.

Paul Menage menage at google.com
Tue Mar 11 09:16:48 PDT 2008


On Tue, Mar 11, 2008 at 9:13 AM, Pavel Emelyanov <xemul at openvz.org> wrote:
>
> --- a/include/linux/cgroup.h
>  +++ b/include/linux/cgroup.h
>  @@ -243,7 +243,7 @@ struct cftype {
>
>          */
>         int (*write_s64) (struct cgroup *cgrp, struct cftype *cft, s64 val);
>
>  -       void (*trigger) (struct cgroup *cgrp, unsigned int event);
>  +       int (*trigger) (struct cgroup *cgrp, unsigned int event);

To be more name-compatible with the other read_X/write_X functions,
how about write_void rather than trigger?

Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list