From: Douglas Fuller Date: Fri, 15 May 2015 18:37:35 +0000 (-0700) Subject: watch/notify: Clarify comment where notifies are completed X-Git-Tag: v9.0.2~151^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=47277c51db7bb2725ea117e4e8834869ae93e006;p=ceph.git watch/notify: Clarify comment where notifies are completed Signed-off-by: Douglas Fuller --- diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 0edbbc6e5688e..dcb360e052ba7 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -791,8 +791,8 @@ void Objecter::handle_watch_notify(MWatchNotify *m) } } } else if (!info->is_watch) { - // notify completion; we can do this inline since we know the only user - // (librados) is safe to call in fast-dispatch context + // we have CEPH_WATCH_EVENT_NOTIFY_COMPLETE; we can do this inline since + // we know the only user (librados) is safe to call in fast-dispatch context assert(info->on_notify_finish); info->notify_result_bl->claim(m->get_data()); info->on_notify_finish->complete(m->return_code);