Comment storage.c
PATCH 2/8 Comment storage.c
I have a vague memory that "It should be ok to return" meant something related to the way our event dispatch worked, but I cannot recall any details. Ergo, useless comment.
Signed-off-by Pete Zaitcev <[email protected]>
--- server/storage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
commit 8c4bed7bd56a5bb2c3a654a494a6bb545f0d7db2
Author: Pete Zaitcev <[email protected]> Date: Thu Nov 11 15:46:59 2010 -0700
Update comments.
server/storage.c +3 -3
@@ -161,9 +161,6 @@ int stor_put_start(struct open_chunk *cep, void (*cb)(struct open_chunk *),return 0 ; } -/* -* It should be ok to return -*/ int stor_open_read (struct open_chunk *cep,void (*cb)(struct open_chunk *),uint64_t key,uint64_t *psize) {
@@ -379,6 +376,9 @@ int stor_obj_del(struct storage_node *stn, uint64_t key)return rc; } +/* +* XXX WTF?! This accidentially tests a node instead of object! FIXME +*/ bool stor_obj_test (struct open_chunk *cep,uint64_t key) {struct st_keylist *klist;