]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Remove unnecessary expressions about conf_journal_sz 2783/head
authorxan <xanpeng@gmail.com>
Thu, 23 Oct 2014 11:05:32 +0000 (19:05 +0800)
committerxan <xanpeng@gmail.com>
Thu, 23 Oct 2014 11:05:32 +0000 (19:05 +0800)
Signed-off-by: Xan Peng xanpeng@gmail.com
src/os/FileJournal.cc

index 5eab7b530aa2fca1b955891f1bc6f08eec0a3aac..5640165bd40bbe4bfa5186fb3edefc98aa8fdd7c 100644 (file)
@@ -146,9 +146,6 @@ int FileJournal::_open_block_device()
     return -EINVAL;
   }
 
-  int64_t conf_journal_sz(g_conf->osd_journal_size);
-  conf_journal_sz <<= 20;
-
   dout(10) << __func__ << ": ignoring osd journal size. "
           << "We'll use the entire block device (size: " << bdev_sz << ")"
           << dendl;