Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/syncfs be consistent, clear VONWORKLST when we ta...
details: https://anonhg.NetBSD.org/src/rev/594ffe6c034a
branches: trunk
changeset: 518825:594ffe6c034a
user: chs <chs%NetBSD.org@localhost>
date: Thu Dec 06 04:29:55 2001 +0000
description:
be consistent, clear VONWORKLST when we take a syncer vnode off the
syncer list.
diffstat:
sys/miscfs/syncfs/sync_subr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a931a169d1da -r 594ffe6c034a sys/miscfs/syncfs/sync_subr.c
--- a/sys/miscfs/syncfs/sync_subr.c Thu Dec 06 04:29:23 2001 +0000
+++ b/sys/miscfs/syncfs/sync_subr.c Thu Dec 06 04:29:55 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sync_subr.c,v 1.10 2001/11/10 13:33:44 lukem Exp $ */
+/* $NetBSD: sync_subr.c,v 1.11 2001/12/06 04:29:55 chs Exp $ */
/*
* Copyright 1997 Marshall Kirk McKusick. All Rights Reserved.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sync_subr.c,v 1.10 2001/11/10 13:33:44 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sync_subr.c,v 1.11 2001/12/06 04:29:55 chs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -146,6 +146,7 @@
s = splbio();
if (vp->v_flag & VONWORKLST) {
+ vp->v_flag &= ~VONWORKLST;
LIST_REMOVE(vp, v_synclist);
}
Home |
Main Index |
Thread Index |
Old Index