From: David Zafman Date: Wed, 3 Aug 2016 06:26:41 +0000 (-0700) Subject: filestore: Clear objects before calling collection_list() again X-Git-Tag: ses5-milestone5~220^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=892303cd02b64b622669183c2acffcdd7a8f3547;p=ceph.git filestore: Clear objects before calling collection_list() again Signed-off-by: David Zafman --- diff --git a/src/os/filestore/FileStore.cc b/src/os/filestore/FileStore.cc index d91eab978c31..21b8230718a1 100644 --- a/src/os/filestore/FileStore.cc +++ b/src/os/filestore/FileStore.cc @@ -4575,6 +4575,7 @@ int FileStore::_collection_remove_recursive(const coll_t &cid, if (r < 0) return r; } + objects.clear(); } return _destroy_collection(cid); }