linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/mmap.c: Replace do_brk with do_brk_flags in comment of insert_vm_struct()
@ 2020-09-21  1:12 Yi Wang
  0 siblings, 0 replies; only message in thread
From: Yi Wang @ 2020-09-21  1:12 UTC (permalink / raw)
  To: akpm
  Cc: linux-mm, linux-kernel, xue.zhihong, wang.yi59, wang.liang82,
	Liao Pingfang


[-- Attachment #1.1.1: Type: text/plain, Size: 982 bytes --]

From: Liao Pingfang <liao.pingfang@zte.com.cn>

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 <liao.pingfang@zte.com.cn>
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
---
 mm/mmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/mmap.c b/mm/mmap.c
index 40248d8..42e630e 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -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);
-- 
1.8.3.1

[-- Attachment #1.1.2: Type: text/html , Size: 1922 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-21  1:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21  1:12 [PATCH] mm/mmap.c: Replace do_brk with do_brk_flags in comment of insert_vm_struct() Yi Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox