os/MemStore: make omap_clear zap the omap header too

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2015-03-20 17:08:01 -07:00
parent d2467e4061
commit d5b3bd76dd

View File

@ -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;
}