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.022 / U:178.804 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site