]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc/Objecter: pass correct cookie value to error
authorSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 17:44:01 +0000 (09:44 -0800)
committerSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 17:44:01 +0000 (09:44 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.cc

index fc2c67441ef13fb1951369f3c32c475336c40111..88b7d304dbef484ef2389bc37adcb01a116383a8 100644 (file)
@@ -498,7 +498,7 @@ struct C_DoWatchError : public Context {
     info->_queued_async();
   }
   void finish(int r) {
-    info->watch_context->handle_error(info->linger_id, err);
+    info->watch_context->handle_error(info->get_cookie(), err);
     info->finished_async();
     info->put();
   }