| Subject | Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy | Date | Wed, 4 Jun 2008 16:20:48 +0900 (JST) | From | (YAMAMOTO Takashi) |
| |
> ssize_t res_counter_write(struct res_counter *counter, int member, > - const char __user *buf, size_t nbytes, loff_t *pos, > - int (*write_strategy)(char *buf, unsigned long long *val)); > + const char __user *buf, size_t nbytes, loff_t *pos, > + int (*write_strategy)(char *buf, unsigned long long *val), > + int (*set_strategy)(struct res_counter *res, unsigned long long val, > + int what),
this comma seems surplus.
> + );
> +int res_counter_return_resource(struct res_counter *child, > + unsigned long long val, > + int (*callback)(struct res_counter *res, unsigned long long val), > + int retry) > +{
> + callback(parent, val);
s/parent/child/
YAMAMOTO Takashi
|