]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: rmap: use the correct parameter name for DEFINE_PAGE_VMA_WALK
authorYang Shi <shy828301@gmail.com>
Sun, 26 Jun 2022 22:40:30 +0000 (15:40 -0700)
committerakpm <akpm@linux-foundation.org>
Sun, 26 Jun 2022 22:40:30 +0000 (15:40 -0700)
commitcfe16743c4f4b86c6dd84632d3aba25478aee77d
tree45eb32bc3500b2bcf08385ec7f81398241781f83
parentcf2f182f0c526c6095ddad3dffd4842ff64941b4
mm: rmap: use the correct parameter name for DEFINE_PAGE_VMA_WALK

The parameter used by DEFINE_PAGE_VMA_WALK is _page not page, fix the
parameter name.  It didn't cause any build error, it is probably because
the only caller is write_protect_page() from ksm.c, which pass in page.

Link: https://lkml.kernel.org/r/20220512174551.81279-1-shy828301@gmail.com
Fixes: 2aff7a4755be ("mm: Convert page_vma_mapped_walk to work on PFNs")
Signed-off-by: Yang Shi <shy828301@gmail.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/rmap.h