From ae7dcdfb8ca49907597e44ef083404aeb8cf6351 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 7 Sep 2010 11:03:34 -0700 Subject: [PATCH] mds: make is_dirty() const in parent and child Otherwise we're overriding the wrong method! Der. --- src/mds/SimpleLock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_* -- 2.39.5