]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
JournalingObjectStore: skip journal commit_start if commit_start does nothing
authorLi Wang <li.wang@kylin-cloud.com>
Fri, 16 Dec 2016 06:33:56 +0000 (06:33 +0000)
committerLi Wang <li.wang@kylin-cloud.com>
Fri, 16 Dec 2016 06:33:56 +0000 (06:33 +0000)
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
src/os/filestore/JournalingObjectStore.cc

index a3fbb974217cdecf023a2cbcc0ee26224c93f07b..8099434f35cbfd9cf83aceadaa76598f0c0994fa 100644 (file)
@@ -216,9 +216,9 @@ bool JournalingObjectStore::ApplyManager::commit_start()
   }
   ret = true;
 
- out:
   if (journal)
     journal->commit_start(_committing_seq);  // tell the journal too
+ out:
   return ret;
 }