From owner-cvs-src@FreeBSD.ORG Mon Jul 5 21:32:02 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15A9F16A505; Mon, 5 Jul 2004 21:32:02 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1B1C43D49; Mon, 5 Jul 2004 21:32:01 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i65LW1hY091241; Mon, 5 Jul 2004 21:32:01 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i65LW1Ts091240; Mon, 5 Jul 2004 21:32:01 GMT (envelope-from truckman) Message-Id: <200407052132.i65LW1Ts091240@repoman.freebsd.org> From: Don Lewis Date: Mon, 5 Jul 2004 21:32:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern vfs_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 21:32:02 -0000 truckman 2004-07-05 21:32:01 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: Unconditionally set last_work_seen while in the SYNCER_RUNNING state so that last_work_seen has a reasonable value at the transition to the SYNCER_SHUTTING_DOWN state, even if net_worklist_len happened to be zero at the time. Initialize last_work_seen to zero as a safety measure in case the syncer never ran in the SYNCER_RUNNING state. Tested by: phk Revision Changes Path 1.504 +4 -5 src/sys/kern/vfs_subr.c