From d5b3bd76dd6010ba34e9544c1713e810de5f21aa Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 20 Mar 2015 17:08:01 -0700 Subject: [PATCH] os/MemStore: make omap_clear zap the omap header too Signed-off-by: Sage Weil --- src/os/MemStore.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/MemStore.cc b/src/os/MemStore.cc index 66ad5570a4a..a1e1b274ec0 100644 --- a/src/os/MemStore.cc +++ b/src/os/MemStore.cc @@ -1243,6 +1243,7 @@ int MemStore::_omap_clear(coll_t cid, const ghobject_t &oid) if (!o) return -ENOENT; o->omap.clear(); + o->omap_header.clear(); return 0; }