]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common: correct comment error about interruptible future
authorXuehan Xu <xxhdx1985126@gmail.com>
Mon, 23 Aug 2021 05:58:32 +0000 (13:58 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Mon, 23 Aug 2021 10:23:41 +0000 (18:23 +0800)
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/common/interruptible_future.h

index 2f48d4dc61a79cb0115486e5cf11086317142ae2..81cadb98d6dcdc3edfb21d3d4819703e12d281ef 100644 (file)
@@ -146,8 +146,8 @@ auto call_with_interruption_impl(
   //           });
   //   })
   // In this case, as crimson::do_for_each would directly do futurize_invoke
-  // for "call_with_interruption", we have make sure this invocation would
-  // errorly release ::crimson::interruptible::interrupt_cond<InterruptCond>
+  // for "call_with_interruption", we have to make sure this invocation would
+  // not errorly release ::crimson::interruptible::interrupt_cond<InterruptCond>
 
   // If there exists an interrupt condition, which means "Func" may not be
   // permitted to run as a result of the interruption, test it. If it does