]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/kstore: clear coll_map on umount
authorSage Weil <sage@redhat.com>
Thu, 24 Dec 2015 14:20:05 +0000 (09:20 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:08:53 +0000 (13:08 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/kstore/KStore.cc

index be5d3f19230d885811142d54d41d9bcc4a2b77c1..3b768210877ae1aa5e0b221cbdd144713f4f901c 100644 (file)
@@ -1035,6 +1035,7 @@ int KStore::umount()
 
   _sync();
   _reap_collections();
+  coll_map.clear();
 
   dout(20) << __func__ << " stopping kv thread" << dendl;
   _kv_stop();