From: Xuehan Xu Date: Mon, 23 Aug 2021 05:58:32 +0000 (+0800) Subject: crimson/common: correct comment error about interruptible future X-Git-Tag: v17.1.0~1038^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=454a3731d9d6bd0bccb320d27652b704e9bd8b07;p=ceph.git crimson/common: correct comment error about interruptible future Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/common/interruptible_future.h b/src/crimson/common/interruptible_future.h index 2f48d4dc61a7..81cadb98d6dc 100644 --- a/src/crimson/common/interruptible_future.h +++ b/src/crimson/common/interruptible_future.h @@ -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 + // for "call_with_interruption", we have to make sure this invocation would + // not errorly release ::crimson::interruptible::interrupt_cond // 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