]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
mm/arm64: Correct obsolete comment in do_page_fault()
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 5 Feb 2021 09:09:19 +0000 (04:09 -0500)
committerWill Deacon <will@kernel.org>
Fri, 5 Feb 2021 18:43:47 +0000 (18:43 +0000)
commit d8ed45c5dcd4 ("mmap locking API: use coccinelle to convert mmap_sem
rwsem call sites") has convertd down_read_trylock() to mmap_read_trylock().
But it forgot to update the relevant comment.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20210205090919.63382-1-linmiaohe@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/fault.c

index 3c40da479899dbb667f427ce8206c52d35e0c16e..86a3877ea86fe73dbed6a36359f8f32d9a04c8f0 100644 (file)
@@ -564,7 +564,7 @@ retry:
                mmap_read_lock(mm);
        } else {
                /*
-                * The above down_read_trylock() might have succeeded in which
+                * The above mmap_read_trylock() might have succeeded in which
                 * case, we'll have missed the might_sleep() from down_read().
                 */
                might_sleep();