At Tue, 5 Aug 2014 15:56:21 +0800, Bingpeng Zhu wrote: > > From: Yu Fang <[email protected]> > > fix the typos in code. > > Signed-off-by: Bingpeng Zhu <[email protected]> > --- > sheep/http/kv.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/sheep/http/kv.c b/sheep/http/kv.c > index 6805f12..244144a 100644 > --- a/sheep/http/kv.c > +++ b/sheep/http/kv.c > @@ -564,7 +564,7 @@ int kv_update_bucket(const char *account, const char > *bucket) > return -1; > } > > -/* return SD_RES_NO_VDI if bucket is not existss */ > +/* return SD_RES_NO_VDI if bucket is not existing */ > int kv_delete_bucket(const char *account, const char *bucket) > { > uint32_t account_vid, vid; > @@ -679,7 +679,7 @@ static int onode_allocate_extents(struct kv_onode *onode, > int ret = SD_RES_SUCCESS; > uint32_t data_vid = onode->data_vid, idx = onode->nr_extent; > > - /* if the previous o_extent[] has some extra sapce, use it */ > + /* if the previous o_extent[] has some extra space, use it */ > if (idx) { > reserv_len = onode->o_extent[idx - 1].count * SD_DATA_OBJ_SIZE - > onode->o_extent[idx - 1].data_len; > @@ -1527,7 +1527,7 @@ int kv_delete_object(const char *account, const char > *bucket, const char *name, > > ret = onode_delete(onode); > if (ret != SD_RES_SUCCESS) { > - sd_err("failed to delete bnode for %s", name); > + sd_err("failed to delete onode for %s", name);
Applied this part because the first two typos are already fixed by the patch of Ruoyu. Thanks, Hitoshi > goto out; > } > ret = bnode_update(account, bucket, onode->size, false); > -- > 1.7.1 > > -- > sheepdog mailing list > [email protected] > http://lists.wpkg.org/mailman/listinfo/sheepdog -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
