]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PGLog: rename dirty() to is_dirty()
authorSamuel Just <sam.just@inktank.com>
Fri, 14 Jun 2013 17:47:27 +0000 (10:47 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 17 Jun 2013 21:50:53 +0000 (14:50 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PGLog.cc
src/osd/PGLog.h

index 53aee37cb6afce75a13ccd81dbc64b650e730306..6a29a1d39550911201be7e28eed4e179ac5b896f 100644 (file)
@@ -534,7 +534,7 @@ void PGLog::merge_log(ObjectStore::Transaction& t,
 void PGLog::write_log(
   ObjectStore::Transaction& t, const hobject_t &log_oid)
 {
-  if (dirty()) {
+  if (is_dirty()) {
     dout(10) << "write_log with: "
             << "dirty_to: " << dirty_to
             << ", dirty_from: " << dirty_from
index e8f86ce56f997f945364b04666b6f5fa02bd9c71..bc40e23709b515ecf78d27488e241443d0914156 100644 (file)
@@ -160,7 +160,7 @@ protected:
   eversion_t dirty_from;
   bool dirty_divergent_priors;
 
-  bool dirty() const {
+  bool is_dirty() const {
     return !touched_log ||
       (dirty_to != eversion_t()) ||
       (dirty_from != eversion_t::max()) ||