summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-01 16:09:15 +0100
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-01 16:09:15 +0100
commit40aaf821b1430b83c0645efe19c43575f88a52a0 (patch)
tree19580fdca53c82976c40c0425a6ef6b3e43fb916
parenta68411bd52d4793013b2a6ef73face5b11879f60 (diff)
downloadceph-40aaf821b1430b83c0645efe19c43575f88a52a0.tar.gz
os/FileStore.cc: remove identical else branch
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r--src/os/FileStore.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc
index 674b26db164..0144a731da1 100644
--- a/src/os/FileStore.cc
+++ b/src/os/FileStore.cc
@@ -3610,10 +3610,8 @@ void FileStore::sync_and_flush()
if (journal)
journal->flush();
_flush_op_queue();
- } else if (m_filestore_journal_parallel) {
- _flush_op_queue();
- sync();
} else {
+ // includes m_filestore_journal_parallel
_flush_op_queue();
sync();
}