]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os: FileStore::_destroy_collection may hide the real mistake. 6612/head
authorRuifeng Yang <yangruifeng.09209@h3c.com>
Tue, 17 Nov 2015 03:18:27 +0000 (11:18 +0800)
committerRuifeng Yang <yangruifeng.09209@h3c.com>
Tue, 17 Nov 2015 03:18:35 +0000 (11:18 +0800)
Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
src/os/FileStore.cc

index 33f39f6aa307016f0075e76c6a0bdb8550293fa8..4434e6c74c89720a927af43eda6abc2ac73436d6 100644 (file)
@@ -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);