From: Davidlohr Bueso Date: Mon, 7 Apr 2014 22:37:01 +0000 (-0700) Subject: mm/memory.c: update comment in unmap_single_vma() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7aa6b4ad5a81d7761b044d38ac0120850a6396ca;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mm/memory.c: update comment in unmap_single_vma() The described issue now occurs inside mmap_region(). And unfortunately is still valid. Signed-off-by: Davidlohr Bueso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/memory.c b/mm/memory.c index 82c1e4cf00d1..c6ee34d10fcc 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1320,9 +1320,9 @@ static void unmap_single_vma(struct mmu_gather *tlb, * It is undesirable to test vma->vm_file as it * should be non-null for valid hugetlb area. * However, vm_file will be NULL in the error - * cleanup path of do_mmap_pgoff. When + * cleanup path of mmap_region. When * hugetlbfs ->mmap method fails, - * do_mmap_pgoff() nullifies vma->vm_file + * mmap_region() nullifies vma->vm_file * before calling this function to clean up. * Since no pte has actually been setup, it is * safe to do nothing in this case.