]> git.baikalelectronics.ru Git - kernel.git/commit
mm/rmap: correct obsolete comment of page_get_anon_vma()
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 26 Feb 2021 01:18:06 +0000 (17:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Feb 2021 17:41:01 +0000 (09:41 -0800)
commit5a16f5756b03a9aa44a94df156f55909b174ac66
tree63413325b5b24823bed0fd2fdf2f7a61d529ba57
parentf1ea2fbaaedc6803a80516c97a1d31c9fd0fc9c0
mm/rmap: correct obsolete comment of page_get_anon_vma()

Since commit 300b793ea708 ("mm: use refcounts for page_lock_anon_vma()"),
page_lock_anon_vma() is renamed to page_get_anon_vma() and converted to
return a refcount increased anon_vma.  But it forgot to change the
relevant comment.

Link: https://lkml.kernel.org/r/20210203093215.31990-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c