diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2020-11-05 20:52:49 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2020-11-05 20:52:49 +0000 |
| commit | f10845877e962a7dcdc4cf9b9614bdfcdac46d59 (patch) | |
| tree | b495fb0ec206d192cfac4c57740b7b0fd2e09063 /sys/dev/xen/control | |
| parent | 6a32dae2b755792c6dbb7fa1bc7ee54fdb912dc0 (diff) | |
Notes
Diffstat (limited to 'sys/dev/xen/control')
| -rw-r--r-- | sys/dev/xen/control/control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c index 8ad398bf986b..e985d56cda5a 100644 --- a/sys/dev/xen/control/control.c +++ b/sys/dev/xen/control/control.c @@ -113,6 +113,7 @@ __FBSDID("$FreeBSD$"); #include <sys/filedesc.h> #include <sys/kdb.h> #include <sys/module.h> +#include <sys/mount.h> #include <sys/namei.h> #include <sys/proc.h> #include <sys/reboot.h> @@ -204,6 +205,7 @@ xctrl_suspend() xs_lock(); stop_all_proc(); xs_unlock(); + suspend_all_fs(); EVENTHANDLER_INVOKE(power_suspend); #ifdef EARLY_AP_STARTUP @@ -317,6 +319,7 @@ xctrl_suspend() } #endif + resume_all_fs(); resume_all_proc(); EVENTHANDLER_INVOKE(power_resume); |
