sync code with last fixes and improvements from OpenBSD
This commit is contained in:
parent
f57be82572
commit
58b04bcee7
468 changed files with 9958 additions and 7882 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue