From: Li Wang
Date: Fri, 16 Dec 2016 06:33:56 +0000 (+0000)
Subject: JournalingObjectStore: skip journal commit_start if commit_start does nothing
X-Git-Tag: v12.0.0~341^2~2
X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=22ce0d91e08a9d215f7b7db849c24bbd865f0ee2;p=ceph.git
JournalingObjectStore: skip journal commit_start if commit_start does nothing
Signed-off-by: Li Wang
---
diff --git a/src/os/filestore/JournalingObjectStore.cc b/src/os/filestore/JournalingObjectStore.cc
index a3fbb974217c..8099434f35cb 100644
--- a/src/os/filestore/JournalingObjectStore.cc
+++ b/src/os/filestore/JournalingObjectStore.cc
@@ -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;
}