[patch tabled 2/8] Comment storage.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <zaitcev@xxxxxxxxxx>

---
 server/storage.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 8c4bed7bd56a5bb2c3a654a494a6bb545f0d7db2
Author: Pete Zaitcev <zaitcev@xxxxxxxxx>
Date:   Thu Nov 11 15:46:59 2010 -0700

    Update comments.

diff --git a/server/storage.c b/server/storage.c
index c472961..5c6e3a7 100644
--- a/server/storage.c
+++ b/server/storage.c
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux