]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: make is_dirty() const in parent and child
authorSage Weil <sage@newdream.net>
Tue, 7 Sep 2010 18:03:34 +0000 (11:03 -0700)
committerSage Weil <sage@newdream.net>
Tue, 7 Sep 2010 19:10:27 +0000 (12:10 -0700)
Otherwise we're overriding the wrong method!  Der.

src/mds/SimpleLock.h

index 417e2c5d282fb7ee283ea55d9e1f9d80400742c0..2fb9eb398686823995fa2cde1d1f1c4aa45a0675 100644 (file)
@@ -347,7 +347,7 @@ public:
 
 
 
-  virtual bool is_dirty() { return false; }
+  virtual bool is_dirty() const { return false; }
 
 
   // can_*