From: Ruifeng Yang Date: Tue, 17 Nov 2015 03:18:27 +0000 (+0800) Subject: os: FileStore::_destroy_collection may hide the real mistake. X-Git-Tag: v10.0.1~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b2eefcac07b70d257566c3a4d909dfb3df421a79;p=ceph.git os: FileStore::_destroy_collection may hide the real mistake. Signed-off-by: Ruifeng Yang (cherry picked from commit 9e9770ca87720781264d2e283739fc9e197706c9) --- diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 5cbc4387bba7..3cfb13f1cefe 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -5010,7 +5010,7 @@ int FileStore::_destroy_collection(coll_t c) dout(15) << "_destroy_collection " << fn << dendl; { Index from; - int r = get_index(c, &from); + r = get_index(c, &from); if (r < 0) goto out; assert(NULL != from.index);