From 9e9770ca87720781264d2e283739fc9e197706c9 Mon Sep 17 00:00:00 2001 From: Ruifeng Yang Date: Tue, 17 Nov 2015 11:18:27 +0800 Subject: [PATCH] os: FileStore::_destroy_collection may hide the real mistake. Signed-off-by: Ruifeng Yang --- src/os/FileStore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 33f39f6aa30..4434e6c74c8 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -5007,7 +5007,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);