diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-12-11 19:22:11 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-29 22:58:26 +0300 |
commit | cb9089babc91f7ffc785d51a0fa567365b0e7751 (patch) | |
tree | dfb13d880fa9d45345cb065bb4ca331d67c5b1fb /mm/rmap.c | |
parent | b2926ac8178bf5c88ada4285f413f56c1cafc592 (diff) | |
download | linux-cb9089babc91f7ffc785d51a0fa567365b0e7751.tar.xz |
mm: remove references to page_add_new_anon_rmap in comments
Refer to folio_add_new_anon_rmap() instead.
Link: https://lkml.kernel.org/r/20231211162214.2146080-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c index 846fc79f3ca9..23da5b1ac33b 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1231,9 +1231,9 @@ static void __page_check_anon_rmap(struct folio *folio, struct page *page, * We have exclusion against page_add_anon_rmap because the caller * always holds the page locked. * - * We have exclusion against page_add_new_anon_rmap because those pages + * We have exclusion against folio_add_new_anon_rmap because those pages * are initially only visible via the pagetables, and the pte is locked - * over the call to page_add_new_anon_rmap. + * over the call to folio_add_new_anon_rmap. */ VM_BUG_ON_FOLIO(folio_anon_vma(folio)->root != vma->anon_vma->root, folio); |