]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crush/CrushWrapper: only allocate weight_set if non-empty
authorSage Weil <sage@redhat.com>
Fri, 21 Jul 2017 17:50:31 +0000 (13:50 -0400)
committerSage Weil <sage@redhat.com>
Fri, 21 Jul 2017 17:50:57 +0000 (13:50 -0400)
commit31b73305b29efa39825b014ae1ba07a2664d6e0b
treef6b2983ceea799054a01f8849c5ef34278226354
parent09b89ace82b2501bab33b10617e92f7060f75f3d
crush/CrushWrapper: only allocate weight_set if non-empty

Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushWrapper.cc