From: Zhiqiang Wang Date: Thu, 23 Apr 2015 02:25:15 +0000 (+0800) Subject: os/NewStore: clear the shared_overlays after writing all the overlays X-Git-Tag: v9.1.0~242^2~46 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a165fe81c5da132ec96f75456a3d43de1cd69d31;p=ceph.git os/NewStore: clear the shared_overlays after writing all the overlays Signed-off-by: Zhiqiang Wang --- diff --git a/src/os/newstore/NewStore.cc b/src/os/newstore/NewStore.cc index bcd826346776..e39fbbfbe9be 100644 --- a/src/os/newstore/NewStore.cc +++ b/src/os/newstore/NewStore.cc @@ -3150,6 +3150,7 @@ int NewStore::_do_write_all_overlays(TransContext *txc, } o->onode.overlay_map.clear(); + o->onode.shared_overlays.clear(); txc->write_onode(o); return 0; }