sync code with last fixes and improvements from OpenBSD

This commit is contained in:
purplerain 2023-07-20 23:56:46 +00:00
parent f57be82572
commit 58b04bcee7
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
468 changed files with 9958 additions and 7882 deletions

View file

@ -690,7 +690,7 @@ sys_swapctl(struct proc *p, void *v, register_t *retval)
if (count >= misc)
continue;
sdp->swd_inuse =
sdp->swd_inuse =
btodb((u_int64_t)sdp->swd_npginuse <<
PAGE_SHIFT);
error = copyout(&sdp->swd_se, sep,
@ -1963,7 +1963,7 @@ swapmount(void)
} else
#endif
if (bdevvp(swap_dev, &vp)) {
rw_exit_write(&swap_syscall_lock);
rw_exit_write(&swap_syscall_lock);
return;
}