summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_export.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-07-03 13:26:54 +0000
committerphk <phk@FreeBSD.org>2000-07-03 13:26:54 +0000
commit2a91a9dd04db6f7f139116433bc749e9ef752d07 (patch)
tree34751e4c9d8b00fdf4e1ba4f995cb699d627dd1c /sys/kern/vfs_export.c
parenta02f6b8e450dd2418cb5761db1a4bc4a0656c730 (diff)
downloadFreeBSD-src-2a91a9dd04db6f7f139116433bc749e9ef752d07.zip
FreeBSD-src-2a91a9dd04db6f7f139116433bc749e9ef752d07.tar.gz
Make the two calls from kern/* into softupdates #ifdef SOFTUPDATES,
that is way cleaner than using the softupdates_stub stunt, which should be killed when convenient. Discussed with: mckusick
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r--sys/kern/vfs_export.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index eaec53b..684bcd4 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -43,6 +43,7 @@
* External virtual filesystem routines
*/
#include "opt_ddb.h"
+#include "opt_ffs.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -1030,7 +1031,9 @@ sched_sync(void)
/*
* Do soft update processing.
*/
+#ifdef SOFTUPDATES
softdep_process_worklist(NULL);
+#endif
/*
* The variable rushjob allows the kernel to speed up the
OpenPOWER on IntegriCloud