mm/hugetlb.c: make __hugetlb_vma_unlock_write_put() static

Reported-by: kernel test robot <lkp@intel.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Andrew Morton 2022-10-07 12:59:20 -07:00
parent bbff39cc6c
commit acfac37851

View File

@ -6804,7 +6804,7 @@ void hugetlb_vma_lock_release(struct kref *kref)
kfree(vma_lock); 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; struct vm_area_struct *vma = vma_lock->vma;