diff options
author | phk <phk@FreeBSD.org> | 2000-07-03 13:26:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-07-03 13:26:54 +0000 |
commit | 2a91a9dd04db6f7f139116433bc749e9ef752d07 (patch) | |
tree | 34751e4c9d8b00fdf4e1ba4f995cb699d627dd1c /sys/kern/vfs_subr.c | |
parent | a02f6b8e450dd2418cb5761db1a4bc4a0656c730 (diff) | |
download | FreeBSD-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_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index eaec53b..684bcd4 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.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 |