Skip to content

Commit cdb5c9e

Browse files
MiaoheLinakpm00
authored andcommitted
mm/mmap: fix obsolete comment of find_extend_vma
mmget_still_valid() has already been removed via commit 4d45e75 ("mm: remove the now-unnecessary mmget_still_valid() hack"). Update the corresponding comment. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 8f0b747 commit cdb5c9e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mm/mmap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,6 @@ find_extend_vma(struct mm_struct *mm, unsigned long addr)
25412541
vma = find_vma_prev(mm, addr, &prev);
25422542
if (vma && (vma->vm_start <= addr))
25432543
return vma;
2544-
/* don't alter vm_end if the coredump is running */
25452544
if (!prev || expand_stack(prev, addr))
25462545
return NULL;
25472546
if (prev->vm_flags & VM_LOCKED)

0 commit comments

Comments
 (0)