lkml.org 
[lkml]   [2008]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 1/2] memcg: res_counter hierarchy
Date
From
>  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


\
 
 \ /
  Last update: 2008-06-04 09:23    [W:0.149 / U:1.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site