diff options
| author | Don Lewis <truckman@FreeBSD.org> | 2004-08-20 19:21:47 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 2004-08-20 19:21:47 +0000 |
| commit | 8ded6540282729fcf8a3688e08041beab32d9fdc (patch) | |
| tree | 4b76caf86d67cd9525b2cc02facc1a91eaed237d | |
| parent | 001eba0b3cfd70d6e70a2a99ef04b26c7cf57dbc (diff) | |
Notes
| -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 6f6c2a59b18d..ad6d7490caa5 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/mount.h> #include <sys/namei.h> +#include <sys/reboot.h> #include <sys/sleepqueue.h> #include <sys/stat.h> #include <sys/sysctl.h> @@ -1742,6 +1743,8 @@ syncer_shutdown(void *arg, int howto) { struct thread *td; + if (howto & RB_NOSYNC) + return; td = FIRST_THREAD_IN_PROC(updateproc); sleepq_remove(td, &lbolt); mtx_lock(&sync_mtx); |
