]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/io/AsyncOperation.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / librbd / io / AsyncOperation.h
index 5839a6964ba3de920c77d6656afec315b220b555..8a01e5c742e307e839e09f2ad4acafe8e236bedc 100644 (file)
@@ -4,7 +4,7 @@
 #ifndef LIBRBD_IO_ASYNC_OPERATION_H
 #define LIBRBD_IO_ASYNC_OPERATION_H
 
-#include "include/assert.h"
+#include "include/ceph_assert.h"
 #include "include/xlist.h"
 #include <list>
 
@@ -26,7 +26,7 @@ public:
 
   ~AsyncOperation()
   {
-    assert(!m_xlist_item.is_on_list());
+    ceph_assert(!m_xlist_item.is_on_list());
   }
 
   inline bool started() const {