commit | 4d1e72437b92598fa371120aade3f7805114bb16 | [log] [tgz] |
---|---|---|
author | Wei Yang <richard.weiyang@linux.alibaba.com> | Tue Oct 13 16:53:35 2020 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 13 18:38:31 2020 -0700 |
tree | f07e7b2f8dfa9826dcaebeb58c90597ded6f8813 | |
parent | 7c61f917b1617d5d1920f47d134de0b3401dc93a [diff] |
mm/mmap: leverage vma_rb_erase_ignore() to implement vma_rb_erase() These two functions share the same logic except ignore a different vma. Let's reuse the code. Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/20200809232057.23477-2-richard.weiyang@linux.alibaba.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>