From: Andrew Morton Date: Fri, 7 Oct 2022 19:59:20 +0000 (-0700) Subject: mm/hugetlb.c: make __hugetlb_vma_unlock_write_put() static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=acfac37851e01b40c30a7afd0d93ad8db8914f25;p=linux.git mm/hugetlb.c: make __hugetlb_vma_unlock_write_put() static Reported-by: kernel test robot Cc: Mike Kravetz Signed-off-by: Andrew Morton --- diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 0ad53ad98e742..41d3aa0778373 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -6804,7 +6804,7 @@ void hugetlb_vma_lock_release(struct kref *kref) kfree(vma_lock); } -void __hugetlb_vma_unlock_write_put(struct hugetlb_vma_lock *vma_lock) +static void __hugetlb_vma_unlock_write_put(struct hugetlb_vma_lock *vma_lock) { struct vm_area_struct *vma = vma_lock->vma;