path: root/mm/mmap.c
diff options
authorLiao Pingfang <>2020-10-13 16:54:18 -0700
committerLinus Torvalds <>2020-10-13 18:38:32 -0700
commit8332326e8e47fbc35711433419c31f610153dd58 (patch)
tree9d316f13966c48b27a61272d0a779387d9960d78 /mm/mmap.c
parentcb48841fbf4ed6f5e001a79af4c2486028dfb291 (diff)
mm/mmap.c: replace do_brk with do_brk_flags in comment of insert_vm_struct()
Replace do_brk with do_brk_flags in comment of insert_vm_struct(), since do_brk was removed in following commit. Fixes: bb177a732c4369 ("mm: do not bug_on on incorrect length in __mm_populate()") Signed-off-by: Liao Pingfang <> Signed-off-by: Yi Wang <> Signed-off-by: Andrew Morton <> Link: Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/mmap.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index cab12a759200..67d11ad6df24 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -3233,7 +3233,7 @@ int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma)
* By setting it to reflect the virtual start address of the
* vma, merges and splits can happen in a seamless way, just
* using the existing file pgoff checks and manipulations.
- * Similarly in do_mmap and in do_brk.
+ * Similarly in do_mmap and in do_brk_flags.
if (vma_is_anonymous(vma)) {