]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: remove dead assert 11910/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 11 Nov 2016 03:43:15 +0000 (11:43 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 11 Nov 2016 05:53:31 +0000 (13:53 +0800)
This assert will never fire, hence it can be safely removed.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.h

index faba829638af29c0babdbc8e2cc785ba5ea7c9a7..921b5f222f504753c8104c4fd9952a512fe7859e 100644 (file)
@@ -1355,7 +1355,6 @@ public:
       if (txc->state >= TransContext::STATE_KV_DONE) {
        return true;
       }
-      assert(txc->state < TransContext::STATE_KV_DONE);
       txc->oncommits.push_back(c);
       return false;
     }