From: Adam Crume Date: Mon, 21 Jul 2014 17:37:29 +0000 (-0700) Subject: doc: Add usage comment to librbd::RBD::AioCompletion X-Git-Tag: v0.86~231^2~51 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d4697bcaf7c09ac0847f4e4cd1b6f87ffb5db13b;p=ceph.git doc: Add usage comment to librbd::RBD::AioCompletion Signed-off-by: Adam Crume --- diff --git a/src/include/rbd/librbd.hpp b/src/include/rbd/librbd.hpp index 7107f5848253..f85e090e7652 100644 --- a/src/include/rbd/librbd.hpp +++ b/src/include/rbd/librbd.hpp @@ -60,6 +60,9 @@ public: RBD(); ~RBD(); + // This must be dynamically allocated with new, and + // must be released with release(). + // Do not use delete. struct AioCompletion { void *pc; AioCompletion(void *cb_arg, callback_t complete_cb);