diff --git a/mm/mmap.c b/mm/mmap.c
index cab12a7592003a926a22192d813fa7a0b09250dc..67d11ad6df2419654862d8c156fdf51482c6114b 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)) {
 		BUG_ON(vma->anon_vma);