Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143694055
D3078.id54425.vson.whitespaceignore-most.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
705 B
Referenced Files
None
Subscribers
None
D3078.id54425.vson.whitespaceignore-most.diff
View Options
Index: head/sys/kern/kern_timeout.c
===================================================================
--- head/sys/kern/kern_timeout.c
+++ head/sys/kern/kern_timeout.c
@@ -1151,7 +1151,6 @@
struct lock_class *class;
int direct, sq_locked, use_lock;
int not_on_a_list;
- int not_running = 1;
if (safe)
WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, c->c_lock,
@@ -1379,17 +1378,8 @@
}
}
callout_cc_del(c, cc);
-
- if (!use_lock) {
- /*
- * If we are asked to stop a callout which is currently in progress
- * and indeed impossible to stop then return 0.
- */
- not_running = !(cc_exec_curr(cc, direct) == c);
- }
-
CC_UNLOCK(cc);
- return (not_running);
+ return (1);
}
void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 7:16 AM (3 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28305426
Default Alt Text
D3078.id54425.vson.whitespaceignore-most.diff (705 B)
Attached To
Mode
D3078: callout_stop() should return 0 when the callout is currently being serviced and indeed unstoppable.
Attached
Detach File
Event Timeline
Log In to Comment