diff options
author | Liao Pingfang <liao.pingfang@zte.com.cn> | 2020-10-13 16:54:18 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 10:11:36 +0100 |
commit | 85e9a7178dee7db805c29a85cc7fd32f00c30074 (patch) | |
tree | 6ed68c9d4fc169dd251cc997f30fcb58f90c04cd /mm | |
parent | 039f056a67580e70364c928059ece257a653ebf1 (diff) | |
download | linux-stable-85e9a7178dee7db805c29a85cc7fd32f00c30074.tar.gz linux-stable-85e9a7178dee7db805c29a85cc7fd32f00c30074.tar.bz2 linux-stable-85e9a7178dee7db805c29a85cc7fd32f00c30074.zip |
mm/mmap.c: replace do_brk with do_brk_flags in comment of insert_vm_struct()
[ Upstream commit 8332326e8e47fbc35711433419c31f610153dd58 ]
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/1600650778-43230-1-git-send-email-wang.yi59@zte.com.cn
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c index bdd19f5b994e..7a8987aa6996 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -3227,7 +3227,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); |