]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rbd_replay/actions.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rbd_replay / actions.cc
index ffb996dc0a77361ae6cbad8b25b48e4da4176585..3a95c399f08290293a108887a39c69063bfcaabe 100644 (file)
@@ -21,7 +21,6 @@
 #define dout_context g_ceph_context
 
 using namespace rbd_replay;
-using namespace std;
 
 namespace {
 
@@ -110,7 +109,7 @@ void StopThreadAction::perform(ActionCtx &ctx) {
 void AioReadAction::perform(ActionCtx &worker) {
   dout(ACTION_LEVEL) << "Performing " << *this << dendl;
   librbd::Image *image = worker.get_image(m_action.imagectx_id);
-  assert(image);
+  ceph_assert(image);
   PendingIO::ptr io(new PendingIO(pending_io_id(), worker));
   worker.add_pending(io);
   int r = image->aio_read(m_action.offset, m_action.length, io->bufferlist(), &io->completion());