]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
librbd: allow to call append_disabled for DisabledPolicy
authorMykola Golub <mgolub@mirantis.com>
Tue, 13 Sep 2016 09:42:14 +0000 (12:42 +0300)
committerMykola Golub <mgolub@mirantis.com>
Wed, 28 Sep 2016 12:17:19 +0000 (15:17 +0300)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/librbd/journal/DisabledPolicy.h

index 119738f639dd9a29ac8a8e8d44818317f2efbf85..0f81ac39be65e4a310695477121a8c19cd11a603 100644 (file)
@@ -15,8 +15,7 @@ namespace journal {
 class DisabledPolicy : public Policy {
 public:
   virtual bool append_disabled() const {
-    assert(false);
-    return false;
+    return true;
   }
   virtual bool journal_disabled() const {
     return true;