Skip to contentSkip to conversation

mm/mmap.c: Replace do_brk with do_brk_flags in comment of insert_vm_struct()

PATCH Applied Yi Wang 1 participant 1 message Sep 21, 2020

Subsystems (2)
lore
Share & tools
lore

Yi Wang

author
#0 lore raw

PATCH 1/1 mm/mmap.c: Replace do_brk with do_brk_flags in comment of insert_vm_struct()

From: Liao Pingfang <[email protected]>

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()")
---
 mm/mmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/mmap.c +1 -1
index 40248d8..42e630e 100644
@@ -3223,7 +3223,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)) {
 		BUG_ON(vma->anon_vma);
Signature · 1 line
1.8.3.1