On 07/13/2012 07:06 PM, Christoph Hellwig wrote: > Split object_cache_rw into one helper for reads and one for writes. > > Signed-off-by: Christoph Hellwig <[email protected]> > > --- > sheep/object_cache.c | 56 > ++++++++++++++++++++++++++++++--------------------- > 1 file changed, 33 insertions(+), 23 deletions(-) > > Index: sheepdog/sheep/object_cache.c > =================================================================== > --- sheepdog.orig/sheep/object_cache.c 2012-07-13 09:24:16.419970922 > +0200 > +++ sheepdog/sheep/object_cache.c 2012-07-13 12:46:12.396565209 +0200 > @@ -412,36 +412,42 @@ out: > return ret; > } > > -static int object_cache_rw(struct object_cache *oc, uint32_t idx, > - struct request *req) > +static int object_cache_write_int(struct object_cache *oc, uint32_t idx, > + struct request *req) > {
Maybe you mean object_cache_write_ent()? > +static int object_cache_read_int(struct object_cache *oc, uint32_t idx, Ditto. Thanks, Yuan -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
