summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-10-11 21:50:45 +0000
committerjeff <jeff@FreeBSD.org>2003-10-11 21:50:45 +0000
commit5b9cc4b22e6e819a64dfbf8705d2602d2bab874a (patch)
treef136d064513d003ba6a515c2ba1aeb27bf4876c1 /sys
parentb2c1ae429508110c774cfdd94fa4078e8f300502 (diff)
downloadFreeBSD-src-5b9cc4b22e6e819a64dfbf8705d2602d2bab874a.zip
FreeBSD-src-5b9cc4b22e6e819a64dfbf8705d2602d2bab874a.tar.gz
- Fix a typo, I meant & and not |. This was causing lockups from the syncer
looping forever due to list corruption. Solved by: tegge
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 38ee1c7..797e27b 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1743,7 +1743,7 @@ sched_sync(void)
VOP_UNLOCK(vp, 0, td);
vn_finished_write(mp);
VI_LOCK(vp);
- if ((vp->v_iflag | VI_ONWORKLST) != 0) {
+ if ((vp->v_iflag & VI_ONWORKLST) != 0) {
/*
* Put us back on the worklist. The worklist
* routine will remove us from our current
OpenPOWER on IntegriCloud