Module Name: src
Committed By: christos
Date: Thu Sep 22 21:58:07 UTC 2011
Modified Files:
src/sys/miscfs/syncfs: sync_subr.c
Log Message:
Restore updateproc because rump uses it until we figure out how to remove it
for good.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/miscfs/syncfs/sync_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/miscfs/syncfs/sync_subr.c
diff -u src/sys/miscfs/syncfs/sync_subr.c:1.45 src/sys/miscfs/syncfs/sync_subr.c:1.46
--- src/sys/miscfs/syncfs/sync_subr.c:1.45 Sat Jun 11 23:35:58 2011
+++ src/sys/miscfs/syncfs/sync_subr.c Thu Sep 22 17:58:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: sync_subr.c,v 1.45 2011/06/12 03:35:58 rmind Exp $ */
+/* $NetBSD: sync_subr.c,v 1.46 2011/09/22 21:58:07 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sync_subr.c,v 1.45 2011/06/12 03:35:58 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sync_subr.c,v 1.46 2011/09/22 21:58:07 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -129,6 +129,8 @@
static long syncer_last;
static synclist_t * syncer_workitem_pending;
+struct lwp * updateproc;
+
void
vn_initialize_syncerd(void)
{
@@ -220,6 +222,8 @@
time_t starttime;
bool synced;
+ updateproc = curlwp;
+
for (;;) {
mutex_enter(&syncer_mutex);
mutex_enter(&syncer_data_lock);