diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2022-10-07 21:59:20 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-13 00:56:45 +0200 |
commit | acfac37851e01b40c30a7afd0d93ad8db8914f25 (patch) | |
tree | 0ef46fb21b76a50ac04c0b559d348bb4e22bb623 /mm/hugetlb.c | |
parent | hugetlb: allocate vma lock for all sharable vmas (diff) | |
download | linux-acfac37851e01b40c30a7afd0d93ad8db8914f25.tar.xz linux-acfac37851e01b40c30a7afd0d93ad8db8914f25.zip |
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>
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r-- | mm/hugetlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 0ad53ad98e74..41d3aa077837 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; |