diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-01 16:27:38 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-01 16:27:38 +0100 |
commit | ea7907fc2b7f0746ec1186c971b3d1706b94ba72 (patch) | |
tree | 84ddaeb56bfd94343e95ef1a577dbf565554e4f4 | |
parent | 40aaf821b1430b83c0645efe19c43575f88a52a0 (diff) | |
download | ceph-ea7907fc2b7f0746ec1186c971b3d1706b94ba72.tar.gz |
os/FileStore.cc: fix warning about comparing int with bool
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/os/FileStore.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 0144a731da1..d2e2763d2db 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -1265,9 +1265,9 @@ int FileStore::_sanity_check_fs() { // sanity check(s) - if ((int)m_filestore_journal_writeahead + + if (((int)m_filestore_journal_writeahead + (int)m_filestore_journal_parallel + - (int)m_filestore_journal_trailing > 1) { + (int)m_filestore_journal_trailing) > 1) { dout(0) << "mount ERROR: more than one of filestore journal {writeahead,parallel,trailing} enabled" << dendl; cerr << TEXT_RED << " ** WARNING: more than one of 'filestore journal {writeahead,parallel,trailing}'\n" |