From: Sage Weil Date: Tue, 7 Sep 2010 18:03:34 +0000 (-0700) Subject: mds: make is_dirty() const in parent and child X-Git-Tag: v0.21.3~42^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ae7dcdfb8ca49907597e44ef083404aeb8cf6351;p=ceph.git mds: make is_dirty() const in parent and child Otherwise we're overriding the wrong method! Der. --- diff --git a/src/mds/SimpleLock.h b/src/mds/SimpleLock.h index 417e2c5d282fb..2fb9eb3986868 100644 --- a/src/mds/SimpleLock.h +++ b/src/mds/SimpleLock.h @@ -347,7 +347,7 @@ public: - virtual bool is_dirty() { return false; } + virtual bool is_dirty() const { return false; } // can_*