]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/FileStore: clean up temp collections on startup too
authorSage Weil <sage@redhat.com>
Sat, 6 Jun 2015 04:01:13 +0000 (00:01 -0400)
committerSage Weil <sage@redhat.com>
Fri, 19 Jun 2015 00:02:49 +0000 (17:02 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/FileStore.cc

index b7389801873eb807f507942a450ff0eb897d0078..3e5ea55c63a14573fca8a7b82b9250820b48e5e6 100644 (file)
@@ -1534,7 +1534,7 @@ int FileStore::mount()
   // Cleanup possibly invalid collections
   {
     vector<coll_t> collections;
-    ret = list_collections(collections);
+    ret = list_collections(collections, true);
     if (ret < 0) {
       derr << "Error " << ret << " while listing collections" << dendl;
       goto close_current_fd;