summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2002-09-11 18:15:26 +0000
committerJulian Elischer <julian@FreeBSD.org>2002-09-11 18:15:26 +0000
commit85e40eaf267fb61ea95eec7771e00574ea9e4dbd (patch)
treeadb26bad010e0c6493474096a74f268c95da7c07 /sys/kern/vfs_subr.c
parent9d2b0ab82ad1236efa76d644fcc586d6be680fe1 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 2bf0721e400e..b0be38588353 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1658,10 +1658,11 @@ speedup_syncer()
td = FIRST_THREAD_IN_PROC(updateproc);
mtx_lock_spin(&sched_lock);
- if (td->td_wchan == &lbolt) /* XXXKSE */
+ if (td->td_wchan == &lbolt) {
unsleep(td);
TD_CLR_SLEEPING(td);
setrunnable(td);
+ }
mtx_unlock_spin(&sched_lock);
if (rushjob < syncdelay / 2) {
rushjob += 1;