From 5b9cc4b22e6e819a64dfbf8705d2602d2bab874a Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 11 Oct 2003 21:50:45 +0000 Subject: - Fix a typo, I meant & and not |. This was causing lockups from the syncer looping forever due to list corruption. Solved by: tegge --- sys/kern/vfs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/vfs_subr.c') 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 -- cgit v1.1