]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/hobject: make hobject_t::set_key avoid dups
authorSage Weil <sage@redhat.com>
Tue, 18 Aug 2015 18:25:38 +0000 (14:25 -0400)
committerSage Weil <sage@redhat.com>
Wed, 19 Aug 2015 21:03:57 +0000 (17:03 -0400)
commit11a069db354ef15687425e6eb9bf476c4ed170ce
treed35520f5d67bd4f67acadc419d36566bed513d9c
parent7ffb7b077a509810dfb65ae25625af84638a2e24
common/hobject: make hobject_t::set_key avoid dups

If the key matches the oid name, clear it.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/hobject.h