mm: update mmap_sem comments to refer to mmap_lock
authorLorenzo Stoakes <lstoakes@gmail.com>
Sat, 7 Jan 2023 00:00:05 +0000 (00:00 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 12 Jan 2023 00:14:22 +0000 (16:14 -0800)
commit8651a137e62ebfde3df95cbb1ca055d013ec5b9e
treee0badeb07acb2e5393811565e11f6ab161226069
parent0411d6ee50e3b74a793848e4f41f45860163f5cc
mm: update mmap_sem comments to refer to mmap_lock

The rename from mm->mmap_sem to mm->mmap_lock was performed in commit
da1c55f1b272 ("mmap locking API: rename mmap_sem to mmap_lock") and commit
c1e8d7c6a7a6 ("map locking API: convert mmap_sem comments"), however some
incorrect comments remain.

This patch simply corrects those comments which are obviously incorrect
within mm itself.

Link: https://lkml.kernel.org/r/33fba04389ab63fc4980e7ba5442f521df6dc657.1673048927.git.lstoakes@gmail.com
Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm_types.h
include/linux/page_ref.h
mm/hugetlb.c
mm/madvise.c
mm/mmap.c