summaryrefslogtreecommitdiffstats
path: root/src/journal/ObjectRecorder.cc
diff options
context:
space:
mode:
authorAdam C. Emerson <aemerson@redhat.com>2019-11-01 20:04:08 +0100
committerAdam C. Emerson <aemerson@redhat.com>2019-11-02 06:37:08 +0100
commit752d12cd8d7ab009bc8a3d341b4aa53e84280d7b (patch)
tree1a7de64d5384fefcdd6ce8cd4ba0f1c3176a0df4 /src/journal/ObjectRecorder.cc
parentcls/user: Un-deprecated version of aio_create_completion (diff)
downloadceph-752d12cd8d7ab009bc8a3d341b4aa53e84280d7b.tar.xz
ceph-752d12cd8d7ab009bc8a3d341b4aa53e84280d7b.zip
journal: Un-deprecated version of aio_create_completion
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Diffstat (limited to 'src/journal/ObjectRecorder.cc')
-rw-r--r--src/journal/ObjectRecorder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/ObjectRecorder.cc b/src/journal/ObjectRecorder.cc
index 1823d7a8884..9d34d190b02 100644
--- a/src/journal/ObjectRecorder.cc
+++ b/src/journal/ObjectRecorder.cc
@@ -360,7 +360,7 @@ bool ObjectRecorder::send_appends(bool force, ceph::ref_t<FutureImpl> flush_futu
}
auto rados_completion = librados::Rados::aio_create_completion(
- new C_AppendFlush(this, append_tid), nullptr, utils::rados_ctx_callback);
+ new C_AppendFlush(this, append_tid), utils::rados_ctx_callback);
int r = m_ioctx.aio_operate(m_oid, rados_completion, &op);
ceph_assert(r == 0);
rados_completion->release();