]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/memstore/MemStore: set Collection::cid on create 7521/head
authorSage Weil <sage@redhat.com>
Thu, 4 Feb 2016 14:24:22 +0000 (09:24 -0500)
committerSage Weil <sage@redhat.com>
Thu, 4 Feb 2016 14:24:22 +0000 (09:24 -0500)
commit70f7b1e316594c56124970b95fda2a8dfb008a53
tree7f55f56205dafd6ca64a99ddc1e0e98e61888b6f
parent76e791412c04a1ca0e0e7a3159595822407c0aa6
os/memstore/MemStore: set Collection::cid on create

This was broken by the collection handles merge in
2e52a8b17c348bb3356eb76a8a0f6ef6efbe5bd3 because the c->cid
value was never initialized and now we started to rely on it.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/memstore/MemStore.cc
src/os/memstore/MemStore.h