mirror of
https://github.com/ceph/ceph
synced 2025-01-18 00:43:38 +00:00
os/MemStore: make omap_clear zap the omap header too
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
d2467e4061
commit
d5b3bd76dd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user