git: d81d67edb1cb - stable/13 - Provide consistent prototype for swp_pager_meta_free()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Jan 2023 03:23:26 UTC
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d81d67edb1cb372fb2833ecda05f8f35ac815a03 commit d81d67edb1cb372fb2833ecda05f8f35ac815a03 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-12-09 15:21:16 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-01-20 03:19:12 +0000 Provide consistent prototype for swp_pager_meta_free() Tested by: pho (cherry picked from commit 645510e62e34d9af4c2d57c7a6443a494511918d) --- sys/vm/swap_pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 407ef1473760..372019affa46 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -483,7 +483,7 @@ static daddr_t swp_pager_getswapspace(int *npages); * Metadata functions */ static daddr_t swp_pager_meta_build(vm_object_t, vm_pindex_t, daddr_t); -static void swp_pager_meta_free(vm_object_t, vm_pindex_t, vm_size_t, +static void swp_pager_meta_free(vm_object_t, vm_pindex_t, vm_pindex_t, vm_size_t *); static void swp_pager_meta_transfer(vm_object_t src, vm_object_t dst, vm_pindex_t pindex, vm_pindex_t count, vm_size_t *freed);