mm/hugetlb.c: make __hugetlb_vma_unlock_write_put() static
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 7 Oct 2022 19:59:20 +0000 (12:59 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 12 Oct 2022 22:56:45 +0000 (15:56 -0700)
Reported-by: kernel test robot <lkp@intel.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c

index 0ad53ad..41d3aa0 100644 (file)
@@ -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;