]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush: remove misleading comment
authorSage Weil <sage.weil@dreamhost.com>
Sat, 5 Mar 2011 22:39:09 +0000 (14:39 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 5 Mar 2011 23:27:37 +0000 (15:27 -0800)
This is a stale comment from an earlier iteration of the implementation.

Reported-by: Alexander Lyakas <alex.bolshoy@gmail.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/crush/crush.h

index 97e435b191f411380bbc546530c725093095231c..bf01cc78c21579b8ad97457c15846c35c5cf10bc 100644 (file)
@@ -130,8 +130,7 @@ struct crush_bucket_list {
 };
 
 struct crush_bucket_tree {
-       struct crush_bucket h;  /* note: h.size is _tree_ size, not number of
-                                  actual items */
+       struct crush_bucket h;
        __u8 num_nodes;
        __u32 *node_weights;
 };