Redo the r302894: the very new value for a non-scheduled callout is -1.
This was recently added in r290664. Noticed by: hselasky PR: 210884
This commit is contained in:
parent
59b67ee8f0
commit
ef58c6a7a3
@ -1381,7 +1381,7 @@ _callout_stop_safe(struct callout *c, int flags, void (*drain)(void *))
|
||||
CTR3(KTR_CALLOUT, "failed to stop %p func %p arg %p",
|
||||
c, c->c_func, c->c_arg);
|
||||
CC_UNLOCK(cc);
|
||||
return (0);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
c->c_iflags &= ~CALLOUT_PENDING;
|
||||
|
Loading…
Reference in New Issue
Block a user