Fix a stupid typo (or copy/paste buffer malfunction).

This commit is contained in:
Gleb Smirnoff 2016-08-16 23:00:22 +00:00
parent c0f50fa012
commit dc4ee9a895

View File

@ -1061,7 +1061,7 @@ callout_reset_sbt_on(struct callout *c, sbintime_t sbt, sbintime_t prec,
*/
if (c->c_lock != NULL && !cc_exec_cancel(cc, direct))
cancelled = cc_exec_cancel(cc, direct) = true;
if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, dir)) {
if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, direct)) {
/*
* Someone has called callout_drain to kill this
* callout. Don't reschedule.