From 47277c51db7bb2725ea117e4e8834869ae93e006 Mon Sep 17 00:00:00 2001 From: Douglas Fuller Date: Fri, 15 May 2015 11:37:35 -0700 Subject: [PATCH] watch/notify: Clarify comment where notifies are completed Signed-off-by: Douglas Fuller --- src/osdc/Objecter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5