]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vma_merge: Set vma iterator to correct position.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 16 Nov 2022 17:29:34 +0000 (12:29 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 28 Nov 2022 21:01:34 +0000 (16:01 -0500)
commit1f9e8d47327728d4d206cae9832ef8843627f4f5
tree3e1385e7421cab501d84d143ecc30ae946a2da65
parent874e425e4ffe971e67675e58f6c06d2e4982ca29
vma_merge: Set vma iterator to correct position.

When merging the previous value, set the vma iterator to the previous
slot.  Don't use the vma iterator to get the next/prev so that it is in
the correct position for a write.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
mm/mmap.c